 <button type="submit" class="btn btn-success"
    ng-disabled="edit_form.$invalid"
    ng-click="ok()">
    Update
  </button>
  <button class="btn btn-danger" ng-click="cancel()">
    Cancel
  </button>
</div>
