Hi James,

Your direct problem is solved my Emmanuel  The reason is that ngIf expects 
an expression <https://docs.angularjs.org/guide/expression>.  the {{}} does 
evaluate an expression. As you can not nest expressions, that is the reason 
it didn't work.

As for best practices, No, most of this is not following best practices. If 
you want get to speed on best practices read through the styleguide 
<https://github.com/johnpapa/angular-styleguide>. 

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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to