angular.dart -> angular2.dart in quickstart text

typo caught by reviewer
This commit is contained in:
Kathy Walrath 2015-08-03 07:37:10 -07:00
parent 0d0b734b4f
commit 9edd38288e
1 changed files with 4 additions and 4 deletions

View File

@ -87,16 +87,16 @@ p.
The main Dart file for any Angular 2 app must import The main Dart file for any Angular 2 app must import
<code>'package:angular2/bootstrap.dart'</code>. <code>'package:angular2/bootstrap.dart'</code>.
If you put part of your app into one or more additional libraries, If you put part of your app into one or more additional libraries,
those additional libraries must import <code>angular.dart</code> those additional libraries must import <code>angular2.dart</code>
instead of <code>bootstrap.dart</code>, instead of <code>bootstrap.dart</code>,
p. p.
The <code>bootstrap.dart</code> and <code>angular.dart</code> files The <code>bootstrap.dart</code> and <code>angular2.dart</code> files
provide the same API, provide the same API,
except that <code>bootstrap.dart</code> also provides a except that <code>bootstrap.dart</code> also provides a
<code>bootstrap()</code> function, which you'll see a little later. <code>bootstrap()</code> function, which you'll see a little later.
For <a href="#performance">performance reasons</a>, For <a href="#performance">performance reasons</a>,
use <code>angular.dart</code> whenever possible. use <code>angular2.dart</code> whenever possible.
h2#section-angular-create-account 3. Define a component h2#section-angular-create-account 3. Define a component
@ -301,7 +301,7 @@ p.
so that they don't use mirrors. so that they don't use mirrors.
The transformer doesn't convert other libraries in your app, The transformer doesn't convert other libraries in your app,
so be sure to so be sure to
import <code>angular.dart</code> instead of <code>bootstrap.dart</code> import <code>angular2.dart</code> instead of <code>bootstrap.dart</code>
in any libraries you create that use Angular 2 in any libraries you create that use Angular 2
but don't call <code>bootstrap()</code>. but don't call <code>bootstrap()</code>.