From 55868649548bf2f7943c86b8cd0cdd3a605e42b7 Mon Sep 17 00:00:00 2001 From: Jeremy Elbourn Date: Wed, 26 Apr 2017 16:41:40 -0700 Subject: [PATCH] docs(getting-started): mention import order for BrowserModule (#4291) Fixes #4278 --- guides/getting-started.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/guides/getting-started.md b/guides/getting-started.md index 1f9a219227b..48e4c5ddfcb 100644 --- a/guides/getting-started.md +++ b/guides/getting-started.md @@ -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.