About 10,200,000 results
Open links in new tab
  1. angular - How can I use "*ngIf else"? - Stack Overflow

    Explains how to use "*ngIf else" in Angular for conditional rendering of HTML elements.

  2. Angular: conditional class with *ngClass - Stack Overflow

    Feb 8, 2016 · 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> …

  3. Angular: When to use signal () vs model ()? - Stack Overflow

    May 10, 2024 · When should we use signal() vs model() in Angular? Angular says the following: ModelSignal is a WritableSignal which means that its value can be changed from anywhere …

  4. How to use index in @for in html angular 18 - Stack Overflow

    Feb 16, 2024 · Learn how to use index in Angular 18's @for loop for HTML templates, with examples and best practices discussed on Stack Overflow.

  5. Angular - How to apply [ngStyle] conditions - Stack Overflow

    Mar 14, 2018 · Angular - How to apply [ngStyle] conditions Asked 7 years, 8 months ago Modified 1 year, 4 months ago Viewed 536k times

  6. Angular + Material - How to refresh a data source (mat-table)

    Oct 14, 2017 · 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.

  7. angular - How to set <iframe src="..."> without causing `unsafe …

    Here's how you add it step by step: Install the package via npm install safe-pipe or yarn add safe-pipe. This will store a reference to it in your dependencies in the package.json file, which you …

  8. How to declare a variable in a template in Angular

    131 You can declare variables in html code by using a template element in Angular 2 or ng-template in Angular 4+. Templates have a context object whose properties can be assigned to …

  9. How to bundle an Angular app for production - Stack Overflow

    Jun 4, 2016 · 2 to 17 (TypeScript) with Angular CLI OneTime Setup npm install -g @angular/cli ng new projectFolder creates a new application Bundling Step ng build (run in command line …

  10. What is the equivalent of ngShow and ngHide in Angular 2+?

    11 According to Angular 1 documentation of ngShow and ngHide, both of these directive adds the css style display: none !important;, to the element according to the condition of that directive …