Check this link, it explains it quite nicely : http://toddmotto.com/digging-into-angulars-controller-as-syntax/
On Tuesday, June 3, 2014 4:11:53 PM UTC+2, migajek wrote: > > Hi, Ive just learned about controller as syntax. Is it recommended instead > of using $scope for passing data to templates? What are its adventages over > $scope (except that one doesnt need to declare dependency on scope anymore)? > -- 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.
