use ngModelCtrl. to monitor the input value changes made by user