Hi Ouiouane,

Welcome to angular :)

If you use 'view sourcecode` you are looking at  a 'snapshot' of your page 
as it is rendered in your browser. Most browsers do a full load, and a 
first pass off all JS before taking that snapshot.
ngIf takes out parts of the DOM when the condition is not truthy. That is 
the reason that part does not show up in your 'view  pagesource`.

Use the firefox developers tools, and use 'inspect-element' from the 
right-click menu to get to the needed parts.

Does that help you a bit?
With kind regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to