docs(quickstart.js): fix typo (#2614)
declarations instead of declaration
This commit is contained in:
parent
70a8af1924
commit
296045ad66
|
@ -482,7 +482,7 @@ code-example(format="").
|
|||
1. Which components and directives we declare in our components
|
||||
1. The component to bootstrap at the start
|
||||
|
||||
We import our lone `app.AppComponent` and add it to both `declaration` and `bootstrap` array.
|
||||
We import our lone `app.AppComponent` and add it to both `declarations` and `bootstrap` array.
|
||||
|
||||
Notice that we also add `ng.platformBrowser.BrowserModule` to the `imports` array.
|
||||
This is the Angular Module that contains all the needed Angular bits and pieces to run our app in the browser.
|
||||
|
|
Loading…
Reference in New Issue