-
-
-
+@RouteConfig(config.routes)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- `,
- directives: [
- CORE_DIRECTIVES,
- DemoHeaderComponent,
-
- AccordionSectionComponent,
- AlertSectionComponent,
- ButtonsSectionComponent,
- CarouselSectionComponent,
- CollapseSectionComponent,
-
- // todo: fix it to much write value calls!!!
- DatepickerSectionComponent,
- //
- DropdownSectionComponent,
- ModalSectionComponent,
- PaginationSectionComponent,
- ProgressbarSectionComponent,
- RatingSectionComponent,
- TabsSectionComponent,
- TimepickerSectionComponent,
- TooltipSectionComponent,
TypeaheadSectionComponent
- ]
-})
export class DemoComponent {
public isBs3:boolean = Ng2BootstrapConfig.theme === Ng2BootstrapTheme.BS3;
-
private viewContainerRef:ViewContainerRef;
public constructor(viewContainerRef:ViewContainerRef) {
@@ -116,4 +53,5 @@ export class DemoComponent {
}
}
-bootstrap(DemoComponent);
+bootstrap(Demo, [ROUTER_PROVIDERS, provide(APP_BASE_HREF, {useValue: '/'})]);
+