Skip to content

Getting ERROR in UiSwitchModule is not an NgModule #7

@mobiyan

Description

@mobiyan

At runtime, I am always getting:

ERROR in UiSwitchModule is not an NgModule

I have:
import {UiSwitchModule } from 'angular2-ui-switch'

and:

imports: [
BrowserModule,
ReactiveFormsModule,
FormsModule,
HttpModule,
routing,
Ng2BootstrapModule,
UiSwitchModule,
],

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions