mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
Fix incorrect use of title in docs for ionNavView
The `title` attribute is no longer evaluated, and should just be a simple string value. It is correct in the ionView docs, but not here.
This commit is contained in:
2
js/angular/directive/navView.js
vendored
2
js/angular/directive/navView.js
vendored
@@ -74,7 +74,7 @@ IonicModule.constant('$ionicNavViewConfig', {
|
||||
* ```html
|
||||
* <script id="home" type="text/ng-template">
|
||||
* <!-- The title of the ion-view will be shown on the navbar -->
|
||||
* <ion-view title="'Home'">
|
||||
* <ion-view title="Home">
|
||||
* <ion-content ng-controller="HomeCtrl">
|
||||
* <!-- The content of the page -->
|
||||
* <a href="#/music">Go to music page!</a>
|
||||
|
||||
Reference in New Issue
Block a user