I am new to AngularJS, and I am creating an app, where I have to edit a text. I have created the button. But, I need some help to set up the edit button. When the user clicks on the edit button, I want them to edit the text.
Here is my edit button
<a class="back" href="#/people">Back</a>
<td><button class="btn btn-primary" ng-click="enableEditor()">Edit</button>
</td>
<div class="people-view">
<h2 class="name">{{people.name}}</h2>
<span class="title">{{people.title}}</span>
<span class="date">{{people.date}} </span>
</div>