Component:- It is the complete set of files that contain template (.html), CSS, modules and typescript file to implement the functionality.
By default angular js contain app-component, it is called the root component of the angular application,it should be always present in an application.
We can create Our own component in angular JS using CLI
ng generate component componentname
It will create a component under app folder
modify component HTML page
load component under app component.html
<app-scs></app-scs>
By default angular js contain app-component, it is called the root component of the angular application,it should be always present in an application.
We can create Our own component in angular JS using CLI
ng generate component componentname
It will create a component under app folder
modify component HTML page
load component under app component.html
<app-scs></app-scs>
POST Answer of Questions and ASK to Doubt