Added ng-model to input template