File tree Expand file tree Collapse file tree 6 files changed +11
-11
lines changed Expand file tree Collapse file tree 6 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1
- # UI-Router for Angular 2   ; [ ![ Build Status] ( https://travis-ci.org/ui-router/ng2.svg?branch=master )] ( https://travis-ci.org/ui-router/ng2 )
1
+ # UI-Router for Angular   ; [ ![ Build Status] ( https://travis-ci.org/ui-router/ng2.svg?branch=master )] ( https://travis-ci.org/ui-router/ng2 )
2
2
3
- ### ui-router-ng2: State based routing for Angular (2 +)
3
+ ### ui-router-ng2: State based routing for Angular (v2 +)
4
4
5
5
---
6
6
** [ Tutorials] ( https://ui-router.github.io/tutorials/ ) ** |
Original file line number Diff line number Diff line change 1
1
/**
2
- * The UI-Router Angular 2 directives:
2
+ * The UI-Router for Angular directives:
3
3
*
4
4
* - [[UIView]]: A viewport for routed components
5
5
* - [[UISref]]: A state ref to a target state; navigates when clicked
Original file line number Diff line number Diff line change 1
1
/**
2
- * # UI-Router for Angular 2
2
+ * # UI-Router for Angular (v2+)
3
3
*
4
4
* - [ui-router-ng2 home page](https://ui-router.github.io/ng2)
5
5
* - [tutorials](https://ui-router.github.io/tutorial/ng2/helloworld)
@@ -105,8 +105,8 @@ import { Ng2LocationConfig } from "./location/locationConfig";
105
105
/**
106
106
* This is a factory function for a UIRouter instance
107
107
*
108
- * Creates a UIRouter instance and configures it for Angular 2 , then invokes router bootstrap.
109
- * This function is used as an Angular 2 `useFactory` Provider.
108
+ * Creates a UIRouter instance and configures it for Angular, then invokes router bootstrap.
109
+ * This function is used as an Angular `useFactory` Provider.
110
110
*/
111
111
export function uiRouterFactory ( locationStrategy : LocationStrategy , injector : Injector ) {
112
112
let rootModules : RootModule [ ] = injector . get ( UIROUTER_ROOT_MODULE ) ;
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { BuilderFunction, State } from "ui-router-core";
5
5
import { loadNgModule } from "../lazyLoad/lazyLoadNgModule" ;
6
6
7
7
/**
8
- * This is a [[StateBuilder.builder]] function for ngModule lazy loading in angular2 .
8
+ * This is a [[StateBuilder.builder]] function for ngModule lazy loading in Angular .
9
9
*
10
10
* When the [[StateBuilder]] builds a [[State]] object from a raw [[StateDeclaration]], this builder
11
11
* decorates the `lazyLoad` property for states that have a [[Ng2StateDeclaration.ngModule]] declaration.
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ import {services} from "ui-router-core";
8
8
import { ViewService } from "ui-router-core" ;
9
9
10
10
/**
11
- * This is a [[StateBuilder.builder]] function for angular2 `views`.
11
+ * This is a [[StateBuilder.builder]] function for Angular `views`.
12
12
*
13
13
* When the [[StateBuilder]] builds a [[State]] object from a raw [[StateDeclaration]], this builder
14
14
* handles the `views` property with logic specific to ui-router-ng2.
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export function locationStrategy(useHash) {
41
41
* Creates UI-Router Modules
42
42
*
43
43
* This class has two static factory methods which create UIRouter Modules.
44
- * A UI-Router Module is an [Angular 2 NgModule](https://angular.io/docs/ts/latest/guide/ngmodule.html)
44
+ * A UI-Router Module is an [Angular NgModule](https://angular.io/docs/ts/latest/guide/ngmodule.html)
45
45
* with support for UI-Router.
46
46
*
47
47
* ### UIRouter Directives
@@ -68,7 +68,7 @@ export class UIRouterModule {
68
68
/**
69
69
* Creates a UI-Router Module for the root (bootstrapped) application module to import
70
70
*
71
- * This factory function creates an [Angular 2 NgModule](https://angular.io/docs/ts/latest/guide/ngmodule.html)
71
+ * This factory function creates an [Angular NgModule](https://angular.io/docs/ts/latest/guide/ngmodule.html)
72
72
* with UI-Router support.
73
73
*
74
74
* The `forRoot` module should be added to the `imports:` of the `NgModule` being bootstrapped.
@@ -116,7 +116,7 @@ export class UIRouterModule {
116
116
/**
117
117
* Creates an `NgModule` for a UIRouter module
118
118
*
119
- * This function creates an [Angular 2 NgModule](https://angular.io/docs/ts/latest/guide/ngmodule.html)
119
+ * This function creates an [Angular NgModule](https://angular.io/docs/ts/latest/guide/ngmodule.html)
120
120
* with UI-Router support.
121
121
*
122
122
* #### Example:
You can’t perform that action at this time.
0 commit comments