diff --git a/modules/@angular/docs/cheatsheet/bootstrapping.md b/modules/@angular/docs/cheatsheet/bootstrapping.md index 5fc0d6f5c1..11371f4fb2 100644 --- a/modules/@angular/docs/cheatsheet/bootstrapping.md +++ b/modules/@angular/docs/cheatsheet/bootstrapping.md @@ -2,7 +2,7 @@ Bootstrapping @cheatsheetIndex 0 @description -{@target ts}`import {bootstrap} from 'angular2/platform/browser';`{@endtarget} +{@target ts}`import { bootstrap } from '@angular/platform-browser-dynamic';`{@endtarget} {@target js}Available from the `ng.platform.browser` namespace{@endtarget} {@target dart}`import 'package:angular2/platform/browser.dart';`{@endtarget} diff --git a/modules/@angular/docs/cheatsheet/built-in-directives.md b/modules/@angular/docs/cheatsheet/built-in-directives.md index f43b247072..ebb7102682 100644 --- a/modules/@angular/docs/cheatsheet/built-in-directives.md +++ b/modules/@angular/docs/cheatsheet/built-in-directives.md @@ -2,7 +2,7 @@ Built-in directives @cheatsheetIndex 2 @description -{@target ts}`import {NgIf, ...} from 'angular2/common';`{@endtarget} +{@target ts}`import {NgIf, ...} from '@angular/common';`{@endtarget} {@target js}Available from the `ng.common` namespace{@endtarget} {@target dart}Available using `platform_directives` in pubspec{@endtarget} diff --git a/modules/@angular/docs/cheatsheet/class-decorators.md b/modules/@angular/docs/cheatsheet/class-decorators.md index 309145f25c..8c9adec377 100644 --- a/modules/@angular/docs/cheatsheet/class-decorators.md +++ b/modules/@angular/docs/cheatsheet/class-decorators.md @@ -2,7 +2,7 @@ Class decorators @cheatsheetIndex 4 @description -{@target ts}`import {Directive, ...} from 'angular2/core';`{@endtarget} +{@target ts}`import {Directive, ...} from '@angular/core';`{@endtarget} {@target js}Available from the `ng.core` namespace{@endtarget} {@target dart}`import 'package:angular2/core.dart';`{@endtarget} diff --git a/modules/@angular/docs/cheatsheet/dependency-injection.md b/modules/@angular/docs/cheatsheet/dependency-injection.md index 02002f24b8..ba597693d7 100644 --- a/modules/@angular/docs/cheatsheet/dependency-injection.md +++ b/modules/@angular/docs/cheatsheet/dependency-injection.md @@ -2,8 +2,6 @@ Dependency injection configuration @cheatsheetIndex 9 @description -{@target ts}`import {provide} from 'angular2/core';`{@endtarget} -{@target js}Available from the `ng.core` namespace{@endtarget} {@target dart}`import 'package:angular2/core.dart';`{@endtarget} @cheatsheetItem diff --git a/modules/@angular/docs/cheatsheet/directive-and-component-decorators.md b/modules/@angular/docs/cheatsheet/directive-and-component-decorators.md index d4f85e2910..3a648d71ed 100644 --- a/modules/@angular/docs/cheatsheet/directive-and-component-decorators.md +++ b/modules/@angular/docs/cheatsheet/directive-and-component-decorators.md @@ -2,7 +2,7 @@ Class field decorators for directives and components @cheatsheetIndex 7 @description -{@target ts}`import {Input, ...} from 'angular2/core';`{@endtarget} +{@target ts}`import {Input, ...} from '@angular/core';`{@endtarget} {@target js}Available from the `ng.core` namespace{@endtarget} {@target dart}`import 'package:angular2/core.dart';`{@endtarget} diff --git a/modules/@angular/docs/cheatsheet/forms.md b/modules/@angular/docs/cheatsheet/forms.md index 7bec65c001..5603ff9464 100644 --- a/modules/@angular/docs/cheatsheet/forms.md +++ b/modules/@angular/docs/cheatsheet/forms.md @@ -2,7 +2,7 @@ Forms @cheatsheetIndex 3 @description -{@target ts}`import {FORM_DIRECTIVES} from 'angular2/common';`{@endtarget} +{@target ts}`import {FORM_DIRECTIVES} from '@angular/common';`{@endtarget} {@target js}Available from `ng.common.FORM_DIRECTIVES`{@endtarget} {@target dart}Available using `platform_directives` in pubspec{@endtarget} diff --git a/modules/@angular/docs/cheatsheet/routing.md b/modules/@angular/docs/cheatsheet/routing.md index 2bf1e777b9..93ca73ff05 100644 --- a/modules/@angular/docs/cheatsheet/routing.md +++ b/modules/@angular/docs/cheatsheet/routing.md @@ -2,7 +2,7 @@ Routing and navigation @cheatsheetIndex 10 @description -{@target ts}`import {RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS, ...} from 'angular2/router';`{@endtarget} +{@target ts}`import {provideRouter, RouteConfig, ROUTER_DIRECTIVES, ...} from '@angular/router';`{@endtarget} {@target js}Available from the `ng.router` namespace{@endtarget} {@target dart}`import 'package:angular2/router.dart';`{@endtarget}