From 3c043dd2c38189488cf3748b1c46fc19bf5f5603 Mon Sep 17 00:00:00 2001 From: Chris Thielen Date: Sat, 4 Feb 2017 16:54:58 -0600 Subject: [PATCH] docs(*): update references to Angular 2 to just Angular --- README.md | 4 ++-- src/directives/directives.ts | 2 +- src/providers.ts | 6 +++--- src/statebuilders/lazyLoad.ts | 2 +- src/statebuilders/views.ts | 2 +- src/uiRouterNgModule.ts | 6 +++--- 6 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 578edbaac..7f09b1d51 100644 --- a/README.md +++ b/README.md @@ -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/)** | diff --git a/src/directives/directives.ts b/src/directives/directives.ts index f03c4ac35..103534744 100644 --- a/src/directives/directives.ts +++ b/src/directives/directives.ts @@ -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 diff --git a/src/providers.ts b/src/providers.ts index 273f35bcc..ec81e960f 100644 --- a/src/providers.ts +++ b/src/providers.ts @@ -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) @@ -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); diff --git a/src/statebuilders/lazyLoad.ts b/src/statebuilders/lazyLoad.ts index d882a5c00..e43d793bb 100644 --- a/src/statebuilders/lazyLoad.ts +++ b/src/statebuilders/lazyLoad.ts @@ -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. diff --git a/src/statebuilders/views.ts b/src/statebuilders/views.ts index def43a8db..bf3abc6c1 100644 --- a/src/statebuilders/views.ts +++ b/src/statebuilders/views.ts @@ -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. diff --git a/src/uiRouterNgModule.ts b/src/uiRouterNgModule.ts index 4947e0dbd..e8ce1b914 100644 --- a/src/uiRouterNgModule.ts +++ b/src/uiRouterNgModule.ts @@ -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 @@ -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. @@ -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: