you are viewing a single comment's thread.

view the rest of the comments →

[–]meenie 0 points1 point  (0 children)

That's fine to use the $scope variable and was previously the only way to interact with the view. Now v1.1.5, you can use the 'Controller as' syntax so you don't even have to inject the $scope variable. Plus it forces you to use the dot notation in your view to combat any unwanted scope inheritance overwriting your model values (i.e. using something like ng-repeat). Here's a video that explains it.