Created input field and bound to ng-model variable 'name'