I have the AngularJS module declaration as below. Here I have declared value AppModel.
I wanted to write code which will be triggered when AppModel.currentTable is changed, How can I watch for this value change ?
angular.module('MIIApp', ['MIIServices']).
value("AppModel",{
currentTable:"TESTME-h",
currentUser:null
});
Any help!!!.