Monday, 12 January 2015

AngularJS, Work with $watch


$watch will help to process some logic base on scope variable change.

Its just like as onChange event of drop down / text box control


$scope.$watch('scopeVariable', function() {

          // Some Task

}


No comments:

Post a Comment