ng-show="a.b.c"
when a doesn't exist yet, a.b.c fails to evaluate and the ng-show does 
nothing, but then the html is... shown!
I think that when ng-show (or ng-if) fails to evaluate the expression, the 
corresponding html shouldn't be seen.

Otherwise, when it is normal that a.b.c is only build after some $http 
request (as usual), the forgiveness of angualar allowing us to write 
ng-show="a.b.c" is not enough and we must explicitely write: "a && a.b && 
a.b.c"

-- 
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