AngularJS controller as vs scope

angularjs $scope vs this difference between controller as and scope In this video we will discuss the difference between $scope and CONTROLLER AS syntax. This is continuation to Part 33. Please watch Part 33 from AngularJS Tutorial before proceeding. There are 2 ways to expose the members from the controller to the view - $scope and CONTROLLER AS. The obvious question that comes to our mind at this point is - Why do we have 2 ways of doing the same thing. Which one to use over the other and what are the d
Back to Top