Merge pull request #951 from elm/patch-1

docs(ionNavView): Fix example
This commit is contained in:
Adam Bradley
2014-03-30 21:25:29 -05:00

View File

@@ -109,18 +109,17 @@ angular.module('ionic.ui.viewState', ['ionic.service.view', 'ionic.service.gestu
* @usage
* In this example, we will create a navigation view that contains our different states for the app.
*
* To do this, in our markup use the ionNavView top level directive, adding an
* {@link ionic.directive:ionNavBar} directive which will render a header bar that updates as we
* navigate through the navigation stack.
* To do this, in our markup we use ionNavView top level directive. To display a header bar we use
* the {@link ionic.directive:ionNavBar} directive that updates as we navigate through the
* navigation stack.
*
* You can any [animation class](/docs/components#animation) on the navView to have its pages slide.
* Recommended for page transitions: 'slide-left-right', 'slide-left-right-ios7', 'slide-in-up'.
*
* ```html
* <ion-nav-bar></ion-nav-bar>
* <ion-nav-view class="slide-left-right">
* <!-- Center content -->
* <ion-nav-bar>
* </ion-nav-bar>
* </ion-nav-view>
* ```
*