in Angular 1 the application would take 1-3 seconds on initial load to get all resources and initialize. After that, navigating to different routes would just append #tab1 to the url and instantly switch to that route.
Is that still possible in Angular2?
Because following examples on angular.io each route re-loads entire app which takes 1-3 seconds while looking at a blank screen with a loader. It does not append a #path. Should I be using a different router to go back to that speed?
index.html
<html>
<head>
<base href="/">
here is my router config:
const appRoutes: Routes = [
{ path: 'classes', component: ClassesComponent },
{ path: 'classes/:id', component: ClassDetailComponent },
{ path: 'products', component: ProductsComponent },
{ path: 'products/:id', component: ProductDetailComponent },
{ path: '', redirectTo: 'products', pathMatch: 'full' },
{ path: 'cache/clear', component: CacheComponent },
{ path: '**', component: PageNotFoundComponent }
];
export const appRoutingProviders: any[] = [];
export const routing: ModuleWithProviders = RouterModule.forRoot(appRoutes);