Just a little FYI / Hint...  When you define controller as a string, you 
can just use the controller as syntax, meaning you don't have to define the 
controllerAs property...

controller: 'ProfileCtrl as profile' works fine... controllerAs is usefull 
when you define controller as a function directly... (for whatever reason).


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