In previous rc.4 release setting up hashbang #! looked like this
bootstrap(ApplicationComponent, [....
{provide: LocationStrategy, useClass: HashLocationStrategy},
{provide: APP_BASE_HREF, useValue: '!'}
]);
Now in rc.5 everything got changed a litte bit and I struggle to find a way to have same address containing #!
Angular docs are quite clear about setting up routing but hashbang is somewhat skipped in tha description(https://angular.io/docs/ts/latest/guide/router.html) . Setting up hash alone is done like so in rc.5 app.routing.ts
export const routing = RouterModule.forRoot(appRoutes, { useHash: true });
however not sure how to additionally define "!" in url in rc.5
I am not sure how it should be applied and in what form. Perhaps in boostrap:... inside @NgModule in app.module but so far I did not make it work. Please suggest.