Skip to content

Commit

Permalink
docs(1.x): update directive names to ngLink and ngViewPort
Browse files Browse the repository at this point in the history
  • Loading branch information
cexbrayat authored and btford committed Apr 4, 2015
1 parent 56fa200 commit f4ad831
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/router-directive.es5.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function routerFactory($$rootRouter, $rootScope, $location, $$grammar, $controll
* ## Use
*
* ```html
* <div router-viewport="name"></div>
* <div ng-viewport="name"></div>
* ```
*
* The value for the `ngViewport` attribute is optional.
Expand Down Expand Up @@ -256,7 +256,7 @@ var LINK_MICROSYNTAX_RE = /^(.+?)(?:\((.*)\))?$/;
* Lets you link to different parts of the app, and automatically generates hrefs.
*
* ## Use
* The directive uses a simple syntax: `router-link="componentName({ param: paramValue })"`
* The directive uses a simple syntax: `ng-link="componentName({ param: paramValue })"`
*
* ## Example
*
Expand All @@ -270,7 +270,7 @@ var LINK_MICROSYNTAX_RE = /^(.+?)(?:\((.*)\))?$/;
*
* ```html
* <div ng-controller="AppController as app">
* <a router-link="user({id: app.user.id})">{{app.user.name}}</a>
* <a ng-link="user({id: app.user.id})">{{app.user.name}}</a>
* </div>
* ```
*/
Expand Down

0 comments on commit f4ad831

Please sign in to comment.