I'm working on an Angular2 application using @angular/material 2.0.0-beta.2 and I am trying to use Chips, but I get 'md-chips' is not a known element
. Here is what I have done:
component.html:
<md-chips ng-model="keywords" readonly="false" placeholder="Enter a keyword"></md-chips>
module.ts
import { MaterialModule } from '@angular/material';
import 'hammerjs';
...
@NgModule({
imports: [
productRouting,
SharedModule,
Select2Module,
MaterialModule.forRoot()
],
...
if I use some other material component like
<md-toolbar color="primary"><span>GameViewer</span></md-toolbar>
I'll have no problem, therefor I don't think I have a problem with importing the material module.
P.S. I already read these: