Can someone please tell me what is the best practice for comparing ngModel old and new value?
In angular 1:
$scope.$watch(\'someProperty\', funciton(
Example with input field...
{{value}} doSomething(oldVal, newVal) { // some code }