USe ng-change.