16 Since Angular 17, you can use built-in control flow, an alternative template syntax for conditionally showing, hiding or repeating elements. It allows you to do if else like the following:
From the angular documentation: "The asterisk is "syntactic sugar" for something a bit more complicated. Internally, Angular translates the *ngIf attribute into a <ng-template> element, wrapped around the host element, like this. The *ngIf directive moved to the <ng-template> element where it became a property binding, [ngIf].
I installed the @angular/cli package via npm using: npm install -g @angular/cli The version 1.4.2 of @angular/cli has been successfully installed. That is not the Angular version, but the CLI vers...
Your project is configured to start the Angular application with a standalone component (in server.ts). Hence, you don't need to bootstrap the application with AppModule (bootstrapModule) in main.ts.
There are two ways to do it, because Angular Material is inconsistent, and this is very poorly documented. Angular material table won't update when a new row will arrive.