Custom callback function when the text box changes
- Added ng-change directive to the input
- Added value in the isolated scope definition to synchronize with the parent scope
- Added function setting