javascript - Is there a way in EmberJS to simply specify a model on an INPUT field - - like ng-model="prop" (not via views)? -
i'm new emberjs , hate writing views in following manner:
{{view ember.textfield placeholder="placeholder text" valuebinding="title" }}
instead write :
<input type="text" ng-model="title" />
the second 1 above angularjs
i've seen this:
<input type="text" {{bindattr value="title"}}></input>
but when change text value, not update model value (or bound value other elements)
is there way in emberjs specify model in text field - ng-model="..." ?
Comments
Post a Comment