Components are like a building block that controls the HTML view of your application. They can communicate with other components to provide functionality to the application. The components are denoted by @Components. An application can have more than one component. There is the sequence of the events Read more…
Component controls the user interface of Angular. We can make as many components according to the requirement. As Angular is a single page application, we use components instead of using multipage.
To create a component, we firstly we go into the app directory and then create a Read more…
In Angular there are two ways to work with forms:
Template-driven forms are the default way to work with forms in Angular which is used as an internal representation of the form.
Reactive forms allow us to build Read more…