Here is another issue with this feature: http://stackoverflow.com/q/23496850/76173 (“controller as” vs isolate scope)
On Friday, May 24, 2013 4:20:08 AM UTC+3, Ben Clinkinbeard wrote: > > Exposing your entire controller to your views is bad practice IMO. $scope > is a great way to mimic a presentation model/view model/whatever you want > to call it while keeping the controller itself focused on logic. Especially > considering the fact that exposing the whole controller was already > possible via $scope.ctrl = this, I really don't get why this was added. Its > existence will be seen by many devs as a recommendation for use. Angular is > great, but it's demos and docs already have a reputation for > encouraging/showing bad practices not appropriate for real world > development. This feature will only increase that perception. -- 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.
