Java, .NET, PHP, PYTHON, ANGULAR, .NET, ML, Data Scince, Testing, CI Tutorials in Easy Languages.

"Best Software Training, Internship, Project Development center of Indore India, Helpline 780506-3968"

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>

Post a Comment

If you have any doubt in programming or join online classes then you can contact us by comment .

Previous Post Next Post