$watch is not working when model is updated in scope.$apply in directive $watch is not working when model is updated in scope.$apply in directive angularjs angularjs

$watch is not working when model is updated in scope.$apply in directive


Problem has been resolved by giving 'true' as third parameter of $watch call.Please find here, the more information on third parameter,

Angular Docs on $rootScope