In this code:
AngularJS will update the model actionText as the user types stuff
I think the easiest way might be just use ng-blur
to fire off something you want to do.
http://plnkr.co/edit/rhcliQRzUOBKQ3xKFrde?p=preview
app.controller('MainCtrl', function($scope) {
$scope.myDataBlurred = $scope.myData;
$scope.blurred = function() {
$scope.myDataBlurred = $scope.myData;
}
});
This will update as you type: {{myData}}
This will update after you blur: {{myDataBlurred}}