Open in app

Sign in

Write

Sign in

Alain Chautard
Alain Chautard

3.1K Followers

Home

About

Published in

Angular Training

·Nov 7

Angular 17: New control flow syntax

Angular 17 has an updated logo and brand identity, a new website (angular.dev), and many more features that will be covered in my Daily Angular Newsletter over the next few days. In this article, let’s cover the new control flows available in our Angular HTML templates. New “If — then — else” syntax We’re used to the…

Angular

4 min read

Angular 17: New control flow syntax
Angular 17: New control flow syntax
Angular

4 min read


Published in

Angular Training

·Aug 18

RxJs vs. Signals: A comparison

Angular Signals have been available since Angular 16.0.0, and one of the best ways to understand how important of a feature it is is to compare Signals to RxJs. This post will highlight several different examples. Receiving data in a Typescript class With RxJs Observables, we need a subscription to get our data: myData$: Observable<Data>; this.myData$.subscribe(d =>…

Angular

3 min read

RxJs vs. Signals: A comparison
RxJs vs. Signals: A comparison
Angular

3 min read


Published in

Angular Training

·Jul 18

What is ng-template, and when to use it?

As an Angular developer, you might have encountered ng-template when using the *ngIf syntax with an else block: <div *ngIf="condition; else elseBlock"> Content to render when the condition is true. </div> <ng-template #elseBlock> Content to render when the condition is false. </ng-template> The thing is, under the hood, Angular is…

Angular

3 min read

What is ng-template, and when to use it?
What is ng-template, and when to use it?
Angular

3 min read


Published in

Angular Training

·Jun 20

How to unit test an Angular pipe?

This tutorial is for people new to unit testing with Angular. We will start with unit tests for a pipe because pipes are the easiest way to get started: They have little to no dependencies, and testing multiple different inputs and expecting different outputs is intuitive. The pipe we’re about…

Angular

4 min read

How to unit test an Angular pipe?
How to unit test an Angular pipe?
Angular

4 min read


Published in

Angular Training

·May 15

Angular Signals: Best practices around exposing Signals

Some best practices are emerging as Signals are available in developer preview with Angular 16. As a reminder, this is how we create a Signal with Angular: currency = signal('USD'); This creates a WritableSignal, meaning that any code that has a reference to that Signal can update its value with: …

Angular Signals

3 min read

Angular Signals: Best practices around exposing Signals
Angular Signals: Best practices around exposing Signals
Angular Signals

3 min read


Published in

Angular Training

·Apr 26

How to pick the right dependencies for your Angular application?

Choosing the right libraries/dependencies for your Angular applications can make or break your project in the long run. I’ve seen way too many consulting clients stuck with an older version of Angular because of a dependency that isn’t maintained anymore. Here are a few rules to follow: 1. Are you sure you need a dependency for this? Do you really…

Angular

5 min read

How to pick the right dependencies for your Angular application?
How to pick the right dependencies for your Angular application?
Angular

5 min read


Published in

Angular Training

·Mar 28

Angular Signals: Questions and Answers

The Angular team is working on a new feature called signals. Signals are the answer to several different requests from the developer community over the years, more specifically: Being able to use Observables with @Input Being able to use Angular without Zone.js to have more control over change detection. With…

Angular

5 min read

Angular Signals: Questions and Answers
Angular Signals: Questions and Answers
Angular

5 min read


Published in

Angular Training

·Jan 20

What’s new in Angular 15.1?

Angular evolves steadily, with major versions every six months, minor versions every month, and weekly patch versions as needed. The first minor version since Angular 15 was released a few days ago. While it is a minor version, there are still a few noteworthy updates to mention. Self-closing tags This might not…

Angular

3 min read

What’s new in Angular 15.1?
What’s new in Angular 15.1?
Angular

3 min read


Jan 1

Template Reference Variables

Welcome to the very first edition of my daily Angular Newsletter! As promised, I’ll keep it nice and short. Today’s topic is Template Reference Variables. I usually call that feature “the hashtag syntax” because that’s how it’s used: Here’s how I could use that reference variable to get the value of the input, for instance:

Angular

2 min read

Angular

2 min read


Published in

Angular Training

·Dec 15, 2022

Learn Angular little by little in 2023

As 2022 comes to a close, people start thinking about resolutions for the upcoming year. What if one of those resolutions was to become a better Angular developer? This is why I decided to launch a daily Angular Newsletter (you can subscribe here) starting on January 2nd, 2023. The goal…

Angular

3 min read

Learn Angular little by little in 2023
Learn Angular little by little in 2023
Angular

3 min read

Alain Chautard

Alain Chautard

3.1K Followers

Google Developer Expert in Angular, Consultant and Trainer at http://www.angulartraining.com

Following
  • Darius Foroux

    Darius Foroux

  • Benjamin Hardy, PhD

    Benjamin Hardy, PhD

  • Gergely Szerovay

    Gergely Szerovay

  • Olivier Combe

    Olivier Combe

  • Kevin Kreuzer

    Kevin Kreuzer

See all (48)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams