Skip to content

Commit

Permalink
Little change in demo, but I always this error
Browse files Browse the repository at this point in the history
- Uncaught Error: Can't resolve all parameters for t: (?, ?, ?, ?, [object Object]).
  • Loading branch information
Zefling committed Aug 3, 2017
1 parent c307e2f commit e363fc3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions demo/angular/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,13 +117,14 @@ export class MainComponent {
}

import { NgModule } from "@angular/core";
import { CommonModule } from '@angular/common';
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { Select2Module, Select2Option, Select2Data } from "../../dist/angular";

@NgModule({
imports: [BrowserModule, FormsModule, Select2Module],
declarations: [MainComponent, Select2Module],
imports: [BrowserModule, CommonModule, FormsModule, ReactiveFormsModule, Select2Module],
declarations: [MainComponent],
bootstrap: [MainComponent],
})
class MainModule { }
Expand Down

0 comments on commit e363fc3

Please sign in to comment.