component Archives

Component Lifecycle of Angular

Author - Webner
|
0 Comments
|

Introduction

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…

Defining a Component using Selector, Template, Styles in Angular

Author - Webner
|
0 Comments
|

Components

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…

Reactive Form In Angular

Author - Monika Dhiman
|
0 Comments
|

In Angular there are two ways to work with forms:

Template-driven 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:

Reactive forms allow us to build Read more…