From 5ef2e8e42d67a1bcba1c1a20edcf2bd9945de954 Mon Sep 17 00:00:00 2001 From: Jeremy Elbourn Date: Wed, 26 Apr 2017 11:44:23 -0700 Subject: [PATCH] docs(getting-started): mention import order for BrowserModule 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 1f9a219227bf..48e4c5ddfcb9 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.