In the previous video we've discussed template driven forms in Angular. In this tutorial we will discuss reactive forms.Reactive forms are more convenient for handling large forms and the relationships between form fields. For example, address fields can be part of a...
Tutorials
Template-driven forms in Angular
In this lesson, we'll start by discussing forms. Angular provides two ways to work with forms — template-driven and reactive forms. Today, we'll focus on the template-driven approach.Template-driven form connects a component class property with an input field using...
Updating Angular and Creating Application Routes
In this tutorial, we'll cover two topics: first, how to update Angular, and then how to create app routes.To update Angular, run the command ng update <angular package name>. To find out the package name and check for available updates, first run ng update and...
Modern control flow in Angular (@if, @for, @switch)
In this tutorial, we’ll talk about the modern control flow in AngularIn previous versions of Angular, template control flow was based on structural directives such as *ngIf, *ngFor, and *ngSwitch. I covered it in an earlier lesson.The new control flow makes template...
Standalone components in Angular
In this lesson, we’ll take a closer look at standalone components (and other entities such as pipes and directives) in Angular. The standalone approach is one of the key global changes in the architecture of Angular applications. Standalone components eliminate the...
Modern Angular
I’m happy to welcome you back after 4 years since my last video. A lot has happened over these years — of course, the war, and simply not enough time. But now I’m back to active work again. In this video, I’ll briefly talk about what has changed in Angular: standalone...
Angular. Component Lifecylce. Part two
I come back after a long timeout because my relocation to Cyprus. In this video I'll remind you about last discussing lifecycle angular component hooks. Also we'll consider the special decorators for getting access to child component from parentAngular has termines...
Angular. Component lifecycle
Every Angular component has its own lifecycle. Lifecycle includes several optional methods, which you can realize for response to different component events (change detection run for example)To describe lifecycle method (hooks) you need implement interface contains...
Angular. Change detection
Angular app is components tree. When something has changed in component (DOM changes, run timeout, intervals, promises, http requests), Angular checks all components for changes. It can affect negatively to app performance. In this video we'll consider change...