Guest User

Untitled

a guest
Jul 22nd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. import {BrowserModule} from '@angular/platform-browser';
  2. import {NgModule} from '@angular/core';
  3. import {UpgradeModule} from '@angular/upgrade/static';
  4. import {AppComponent} from './app.component';
  5. import {UIRouterUpgradeModule} from "@uirouter/angular-hybrid";
  6.  
  7. @NgModule({
  8. declarations: [
  9. AppComponent
  10. ],
  11. imports: [
  12. BrowserModule,
  13. UpgradeModule,
  14. UIRouterUpgradeModule.forRoot() //Just add the module here
  15. ],
  16. providers: [],
  17. bootstrap: [AppComponent]
  18. })
  19. export class AppModule {
  20. constructor() {}
  21.  
  22. ngDoBootstrap() {
  23. }
  24. }
Add Comment
Please, Sign In to add comment