Skip to content

Instantly share code, notes, and snippets.

@sonicoder86
Created June 24, 2016 10:48
Show Gist options
  • Save sonicoder86/ab02276e64f94c14659e942acf2bfb40 to your computer and use it in GitHub Desktop.
Save sonicoder86/ab02276e64f94c14659e942acf2bfb40 to your computer and use it in GitHub Desktop.
Upgrading to the new Angular 2 router - part 3
// main.ts
import { ROUTER_PROVIDERS } from '@angular/router-deprecated';
import { AppComponent } from './components/app/app.component';
bootstrap(AppComponent, [
ROUTER_PROVIDERS
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment