docs(getting-started): mention import order for BrowserModule (#4291)

Fixes #4278
This commit is contained in:
Jeremy Elbourn
2017-04-26 16:41:40 -07:00
committed by mmalerba
parent 85bc3a6574
commit 5586864954
+3
View File
@@ -72,6 +72,9 @@ import {MdButtonModule, MdCheckboxModule} from '@angular/material';
export class MyOwnCustomMaterialModule { }
```
Whichever approach you use, be sure to import the Angular Material modules _after_ Angular's
`BrowserModule`, as the import order matters for NgModules.
## Step 4: Include a theme
Including a theme is **required** to apply all of the core and theme styles to your application.