Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import {BrowserModule} from '@angular/platform-browser';
- import {NgModule} from '@angular/core';
- import {UpgradeModule} from '@angular/upgrade/static';
- import {AppComponent} from './app.component';
- import {UIRouterUpgradeModule} from "@uirouter/angular-hybrid";
- @NgModule({
- declarations: [
- AppComponent
- ],
- imports: [
- BrowserModule,
- UpgradeModule,
- UIRouterUpgradeModule.forRoot() //Just add the module here
- ],
- providers: [],
- bootstrap: [AppComponent]
- })
- export class AppModule {
- constructor() {}
- ngDoBootstrap() {
- }
- }
Add Comment
Please, Sign In to add comment