components and templates

As previously learned, components are basic elements of an angular application. The main task of the Angular Component is to generate a webpage portion called a view. Each component will have a connected template and will be used to generate views.

Adding a Component

Now let's go back to the application, we made previously. So let's add one component to our angular app. To add a component we'll need to open the command prompt (CMD) and enter the following syntax:

Readingmine is platform of best editors, well explained.