V. Chandrasekhar
Member since Dec 15, 2015
- Profile: /members/12971-v-chandrasekhar.htm
- Comments: 2
Recent Blog Comments By V. Chandrasekhar
-
Understanding How To Use $scope.$watch() With Controller-As In AngularJS
Posted on Dec 15, 2015 at 2:42 PM
More questions. 1. Line 109 exposes incrementFoo as a method on vm. Line 28 passes control to appController.incrementFoo(). How do things work correctly? Even though vm and appController are different objects do they have the same value both being instances of the controller? 2. When I click on In... read more »
-
Understanding How To Use $scope.$watch() With Controller-As In AngularJS
Posted on Dec 15, 2015 at 1:53 PM
After executing Line 54 of the code above, where exactly (i.e., in which scope) is vm created? [It is not in $scope or $rootScope. I checked.] Thanks.... read more »