This repository was archived by the owner on Dec 4, 2017. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 87
87
The main Dart file for any Angular 2 app must import
88
88
<code >'package:angular2/bootstrap.dart'</code >.
89
89
If you put part of your app into one or more additional libraries,
90
- those additional libraries must import <code >angular .dart</code >
90
+ those additional libraries must import <code >angular2 .dart</code >
91
91
instead of <code >bootstrap.dart</code >,
92
92
93
93
p.
94
- The <code >bootstrap.dart</code > and <code >angular .dart</code > files
94
+ The <code >bootstrap.dart</code > and <code >angular2 .dart</code > files
95
95
provide the same API,
96
96
except that <code >bootstrap.dart</code > also provides a
97
97
<code >bootstrap()</code > function, which you'll see a little later.
98
98
For <a href =" #performance" >performance reasons</a >,
99
- use <code >angular .dart</code > whenever possible.
99
+ use <code >angular2 .dart</code > whenever possible.
100
100
101
101
h2#section-angular-create-account 3. Define a component
102
102
301
301
so that they don't use mirrors.
302
302
The transformer doesn't convert other libraries in your app,
303
303
so be sure to
304
- import <code >angular .dart</code > instead of <code >bootstrap.dart</code >
304
+ import <code >angular2 .dart</code > instead of <code >bootstrap.dart</code >
305
305
in any libraries you create that use Angular 2
306
306
but don't call <code >bootstrap()</code >.
307
307
You can’t perform that action at this time.
0 commit comments