Angular nested scopes and controller as syntax

angularjs nested controllers scope angularjs nested controllers parent scope angularjs nested controllers example In this video we will discuss, how the CONTROLLER AS syntax can make our code more readable as opposed to using $scope when working with nested scopes. This is continuation to Part 32. Please watch Part 32 from AngularJS Tutorial before proceeding. Working with nested scopes using $scope object : The following code creates 3 controllers - countryController, stateController, and cityController
Back to Top