Added ng-model to bind <input type=text>