1

Can anyone please share an example that has AppModule and another module lets say HomeModule, with a lazy loading route to HomeModule and that works with Angular 2 Cli AoT compilation option.

When I try this I get error "HomeModule is not an NgModule.

Naveed Ahmed
  • 10,048
  • 12
  • 46
  • 85

1 Answers1

0

Refer this example.Angular is in progress of building few UI components using material design.Those examples are using angular cli and AOT. https://github.com/jelbourn/material2-app