I want to pass id from home page to edit page . i can see it in home page .
th code is :
<li ng-repeat="data in data">
{{data.ID}}
{{data.subject}}
<a href="#/edit?data={{data.ID}}">Edit</a>
</li>
here i can't see the id page with data binding ? edit page
{{data.ID}}
<form>
<input type="text" name="subject" placeholder="name" ng-model="subject"/>
</form>
the question is how to edit data with specefic Id ?
Thx