104
rated 0 times
[
111]
[
7]
/ answers: 1 / hits: 16668
/ 10 Years ago, fri, august 1, 2014, 12:00:00
I just started learning AngularJS. I want to implement a page for editing user info by showing the old info in the input field on the page. whenever the user want to update info they can see the old info displayed in the input box and they can change the value which will be stored in ng-model. I used before without ng-model and it works
<input type=text value={{event_detail.title}} class=inputbox form-control>
However it doesn't work with data-ng-model
<input type=text value=event_detail.title required id=title name=title class=inputbox form-control data-ng-model=eve.title placeholder=Title>
is there anyway to solve this problem?
More From » html