I am in a problem with using bower components in typeScript. Is it possible use bower_components. I import bower_component in index.html but it's not import for other .html. Can you please give solution for this issue.
This import line in index.html.
<link rel="import" href="bower_components/...html" />
Thank you.
Look at your errors if it is stating to add CUSTOM_ELEMENTS_SCHEMA then you can add this to your AppModule
schemas: [CUSTOM_ELEMENTS_SCHEMA]
@NgModule({
declarations: [ HeaderComponent ],
bootstrap: [ HeaderComponent ],
imports: [ RouterModule, CommonModule, FormsModule ],
schemas: [ CUSTOM_ELEMENTS_SCHEMA ]
})
export class AppModule { }