angular.dart -> angular2.dart in quickstart text
typo caught by reviewer
This commit is contained in:
parent
0d0b734b4f
commit
9edd38288e
|
@ -87,16 +87,16 @@ p.
|
|||
The main Dart file for any Angular 2 app must import
|
||||
<code>'package:angular2/bootstrap.dart'</code>.
|
||||
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>,
|
||||
|
||||
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,
|
||||
except that <code>bootstrap.dart</code> also provides a
|
||||
<code>bootstrap()</code> function, which you'll see a little later.
|
||||
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
|
||||
|
||||
|
@ -301,7 +301,7 @@ p.
|
|||
so that they don't use mirrors.
|
||||
The transformer doesn't convert other libraries in your app,
|
||||
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
|
||||
but don't call <code>bootstrap()</code>.
|
||||
|
||||
|
|
Loading…
Reference in New Issue