Skip to content

Commit

Permalink
docs(*): update references to Angular 2 to just Angular
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed Feb 4, 2017
1 parent 633573e commit 3c043dd
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# UI-Router for Angular 2  [![Build Status](https://travis-ci.org/ui-router/ng2.svg?branch=master)](https://travis-ci.org/ui-router/ng2)
# UI-Router for Angular  [![Build Status](https://travis-ci.org/ui-router/ng2.svg?branch=master)](https://travis-ci.org/ui-router/ng2)

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

---
**[Tutorials](https://ui-router.github.io/tutorials/)** |
Expand Down
2 changes: 1 addition & 1 deletion src/directives/directives.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* The UI-Router Angular 2 directives:
* The UI-Router for Angular directives:
*
* - [[UIView]]: A viewport for routed components
* - [[UISref]]: A state ref to a target state; navigates when clicked
Expand Down
6 changes: 3 additions & 3 deletions src/providers.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* # UI-Router for Angular 2
* # UI-Router for Angular (v2+)
*
* - [ui-router-ng2 home page](https://ui-router.github.io/ng2)
* - [tutorials](https://ui-router.github.io/tutorial/ng2/helloworld)
Expand Down Expand Up @@ -105,8 +105,8 @@ import { Ng2LocationConfig } from "./location/locationConfig";
/**
* This is a factory function for a UIRouter instance
*
* Creates a UIRouter instance and configures it for Angular 2, then invokes router bootstrap.
* This function is used as an Angular 2 `useFactory` Provider.
* Creates a UIRouter instance and configures it for Angular, then invokes router bootstrap.
* This function is used as an Angular `useFactory` Provider.
*/
export function uiRouterFactory(locationStrategy: LocationStrategy, injector: Injector) {
let rootModules: RootModule[] = injector.get(UIROUTER_ROOT_MODULE);
Expand Down
2 changes: 1 addition & 1 deletion src/statebuilders/lazyLoad.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { BuilderFunction, State } from "ui-router-core";
import { loadNgModule } from "../lazyLoad/lazyLoadNgModule";

/**
* This is a [[StateBuilder.builder]] function for ngModule lazy loading in angular2.
* This is a [[StateBuilder.builder]] function for ngModule lazy loading in Angular.
*
* When the [[StateBuilder]] builds a [[State]] object from a raw [[StateDeclaration]], this builder
* decorates the `lazyLoad` property for states that have a [[Ng2StateDeclaration.ngModule]] declaration.
Expand Down
2 changes: 1 addition & 1 deletion src/statebuilders/views.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {services} from "ui-router-core";
import {ViewService} from "ui-router-core";

/**
* This is a [[StateBuilder.builder]] function for angular2 `views`.
* This is a [[StateBuilder.builder]] function for Angular `views`.
*
* When the [[StateBuilder]] builds a [[State]] object from a raw [[StateDeclaration]], this builder
* handles the `views` property with logic specific to ui-router-ng2.
Expand Down
6 changes: 3 additions & 3 deletions src/uiRouterNgModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export function locationStrategy(useHash) {
* Creates UI-Router Modules
*
* This class has two static factory methods which create UIRouter Modules.
* A UI-Router Module is an [Angular 2 NgModule](https://angular.io/docs/ts/latest/guide/ngmodule.html)
* A UI-Router Module is an [Angular NgModule](https://angular.io/docs/ts/latest/guide/ngmodule.html)
* with support for UI-Router.
*
* ### UIRouter Directives
Expand All @@ -68,7 +68,7 @@ export class UIRouterModule {
/**
* Creates a UI-Router Module for the root (bootstrapped) application module to import
*
* This factory function creates an [Angular 2 NgModule](https://angular.io/docs/ts/latest/guide/ngmodule.html)
* This factory function creates an [Angular NgModule](https://angular.io/docs/ts/latest/guide/ngmodule.html)
* with UI-Router support.
*
* The `forRoot` module should be added to the `imports:` of the `NgModule` being bootstrapped.
Expand Down Expand Up @@ -116,7 +116,7 @@ export class UIRouterModule {
/**
* Creates an `NgModule` for a UIRouter module
*
* This function creates an [Angular 2 NgModule](https://angular.io/docs/ts/latest/guide/ngmodule.html)
* This function creates an [Angular NgModule](https://angular.io/docs/ts/latest/guide/ngmodule.html)
* with UI-Router support.
*
* #### Example:
Expand Down

0 comments on commit 3c043dd

Please sign in to comment.