Skip to content

Commit

Permalink
Fix ion-nav-back-button document
Browse files Browse the repository at this point in the history
The html code in "custom click action" example should call "goBack" method, not "doSomethingCool".
  • Loading branch information
darkbaby123 committed Jul 27, 2014
1 parent 222a0d8 commit 26cff58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/angular/directive/navBackButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* ```html
* <ion-nav-bar ng-controller="MyCtrl">
* <ion-nav-back-button class="button-clear"
* ng-click="doSomethingCool()">
* ng-click="goBack()">
* <i class="ion-arrow-left-c"></i> Back
* </ion-nav-back-button>
* </ion-nav-bar>
Expand Down

0 comments on commit 26cff58

Please sign in to comment.