fix(): added custom elements schema to ionic module.

This commit is contained in:
Josh Thomas
2017-05-18 09:13:29 -05:00
parent b256bd1a39
commit 0f0cb8f01f

View File

@ -1,7 +1,7 @@
/**
* Import Angular
*/
import { ANALYZE_FOR_ENTRY_COMPONENTS, APP_INITIALIZER, ComponentFactoryResolver, Inject, Injector, ModuleWithProviders, NgModule, NgZone, Optional } from '@angular/core';
import { ANALYZE_FOR_ENTRY_COMPONENTS, APP_INITIALIZER, ComponentFactoryResolver, Inject, Injector, ModuleWithProviders, NgModule, NgZone, Optional, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { APP_BASE_HREF, Location, LocationStrategy, HashLocationStrategy, PathLocationStrategy, PlatformLocation } from '@angular/common';
import { DOCUMENT, HAMMER_GESTURE_CONFIG } from '@angular/platform-browser';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
@ -365,7 +365,8 @@ import { VirtualScroll } from './components/virtual-scroll/virtual-scroll';
PopoverCmp,
SelectPopover,
ToastCmp
]
],
schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class IonicModule {