UNPKG

ipsos-components

Version:

Material Design components for Angular

43 lines (38 loc) 1.15 kB
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import {ApplicationRef, NgModule} from '@angular/core'; import {BrowserModule} from '@angular/platform-browser'; import {HttpClientModule} from '@angular/common/http'; import {RouterModule} from '@angular/router'; import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; import {ALL_ROUTES} from './demo-app/routes'; import {EntryApp} from './demo-app/demo-app'; import {DemoModule} from './demo-app/demo-module'; import {AccessibilityDemoModule} from './a11y/a11y-module'; @NgModule({ imports: [ BrowserModule, BrowserAnimationsModule, HttpClientModule, DemoModule, AccessibilityDemoModule, RouterModule.forRoot(ALL_ROUTES), ], declarations: [ EntryApp, ], entryComponents: [ EntryApp, ], }) export class DemoAppModule { constructor(private _appRef: ApplicationRef) { } ngDoBootstrap() { this._appRef.bootstrap(EntryApp); } }