Posts

Showing posts from May, 2026

Angular Life Cycle

 Angular LifeCycle: Angular Components go through a sequence of lifecycle hooks from creation to destruction. These hooks let you run code at specific moments. Lifecycle Flow:                                                     Constructor()                                                                 |                                                     ngOnChanges()                               ...

Routes

 Angular Routes:

Angular Form

 There are two approach for form: 1. Template Driven form and  2. Reactive Form 1.Template driven form : In template driven form there are key components  like: ngForm -> Tracks the whole form ngModel-> Binds input values Template reference variable(#name="ngModel")-> Access control state Validation-> by HTML attributes (required, email etc)