<script type="text/ng-template" id="updateNote.html">
<ion-view view-title="Edit Note">
<ion-content class="note-content">
<div class="row">
<div class="col">
<div class="list" ng-controller="UpdateNoteCtrl">
<label class="item item-input">
<input type="text" placeholder="Title" ng-model="title">
</label>
<label class="item item-input">
<textarea placeholder="Note Body" ng-model="body"></textarea>
</label>
<div class="item button button-block button-positive"
ng-model="editNoteButton"
ng-disabled="!title||!body"
ng-click="updateNote(myid)">
Submit
</div>
</div>
</div>
</div>
</ion-content>
</ion-view>
</script>
No comments:
Post a Comment