Skip to content

Instantly share code, notes, and snippets.

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