fixed ng model not getting updated

now update model from directive if not equal what is in field. Need this for key capture processing that adds items to input field during typing.