I have an editable table
It works fine, but i have to hide editable row and show that on button click
for example. how I can do this?
<td contenteditable='true'>
<label class="text">
<input type="text" ng-model="medication.description" ng-change="editMedication(medication)"/>
{{medication.description}}
</td>
<td>
<label for="edit">
<input type="button" id = "edit" ng-model="medication" ng-change="editMedication(medication)" >
</label>
</td>
</tr>
</table>
ng-if="_show_editable_row == true"in the markup, and in the controller add$scope.show_editable_row = function() { $scope._show_editable_row = true; }. On the button addng-click="show_editable_row();"