I am new in Angular2. I have tried to create a component but showing an error.
This is the app.component.ts file.
app.component.ts
import { Component } f
Check your selector in your filename.component.ts
Using the tag in various html files I would say
Should be
Example
@Component({ selector: 'app-my-first-component', templateUrl: './my-first-component.component.html', styleUrls: ['./my-first-component.component.scss'] })