Skip to content

Commit 3c043dd

Browse files
docs(*): update references to Angular 2 to just Angular
1 parent 633573e commit 3c043dd

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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)
22

3-
### ui-router-ng2: State based routing for Angular (2+)
3+
### ui-router-ng2: State based routing for Angular (v2+)
44

55
---
66
**[Tutorials](https://ui-router.github.io/tutorials/)** |

src/directives/directives.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* The UI-Router Angular 2 directives:
2+
* The UI-Router for Angular directives:
33
*
44
* - [[UIView]]: A viewport for routed components
55
* - [[UISref]]: A state ref to a target state; navigates when clicked

src/providers.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* # UI-Router for Angular 2
2+
* # UI-Router for Angular (v2+)
33
*
44
* - [ui-router-ng2 home page](https://ui-router.github.io/ng2)
55
* - [tutorials](https://ui-router.github.io/tutorial/ng2/helloworld)
@@ -105,8 +105,8 @@ import { Ng2LocationConfig } from "./location/locationConfig";
105105
/**
106106
* This is a factory function for a UIRouter instance
107107
*
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.
110110
*/
111111
export function uiRouterFactory(locationStrategy: LocationStrategy, injector: Injector) {
112112
let rootModules: RootModule[] = injector.get(UIROUTER_ROOT_MODULE);

src/statebuilders/lazyLoad.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { BuilderFunction, State } from "ui-router-core";
55
import { loadNgModule } from "../lazyLoad/lazyLoadNgModule";
66

77
/**
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.
99
*
1010
* When the [[StateBuilder]] builds a [[State]] object from a raw [[StateDeclaration]], this builder
1111
* decorates the `lazyLoad` property for states that have a [[Ng2StateDeclaration.ngModule]] declaration.

src/statebuilders/views.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {services} from "ui-router-core";
88
import {ViewService} from "ui-router-core";
99

1010
/**
11-
* This is a [[StateBuilder.builder]] function for angular2 `views`.
11+
* This is a [[StateBuilder.builder]] function for Angular `views`.
1212
*
1313
* When the [[StateBuilder]] builds a [[State]] object from a raw [[StateDeclaration]], this builder
1414
* handles the `views` property with logic specific to ui-router-ng2.

src/uiRouterNgModule.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function locationStrategy(useHash) {
4141
* Creates UI-Router Modules
4242
*
4343
* 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)
4545
* with support for UI-Router.
4646
*
4747
* ### UIRouter Directives
@@ -68,7 +68,7 @@ export class UIRouterModule {
6868
/**
6969
* Creates a UI-Router Module for the root (bootstrapped) application module to import
7070
*
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)
7272
* with UI-Router support.
7373
*
7474
* The `forRoot` module should be added to the `imports:` of the `NgModule` being bootstrapped.
@@ -116,7 +116,7 @@ export class UIRouterModule {
116116
/**
117117
* Creates an `NgModule` for a UIRouter module
118118
*
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)
120120
* with UI-Router support.
121121
*
122122
* #### Example:

0 commit comments

Comments
 (0)