chore(changelog): still have to be imported

This line was incorrect in saying that you did not have to import providers, pipes etc. You still have to import those into the components you want to use them in, but they should not be in the providers, pipes or directives array in @Component.
This commit is contained in:
Justin Willis
2016-09-29 10:34:58 -05:00
committed by GitHub
parent 9e7bcfab33
commit 3671f3023b

View File

@@ -343,7 +343,7 @@ Note: For details on NgModules you can read the Angular docs on them [here](http
8. Import and add each of your providers to the `providers` array in `src/app/app.module.ts`.
9. Remove any use of the `providers`, `pipes` and `directives` entries in `@Component`, and their corresponding `import` statements, from your pages.
9. Remove any use of the `providers`, `pipes` and `directives` arrays in `@Component`.
10. Change any uses of the `private` TypeScript keyword to `public`.