About 15,400,000 results
Open links in new tab
  1. 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> element, …

  2. angular - How can I use "*ngIf else"? - Stack Overflow

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

  3. Angular V17 / V18: Prospects of @if vs. *ngIf – Will *ngIf be ...

    Nov 23, 2023 · Explore the future of Angular's @if and *ngIf directives in upcoming versions, discussing potential deprecation and implications for developers.

  4. 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

  5. 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.

  6. 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 variables using let …

  7. Angular: error NG8001: 'component' is not a known element

    Jul 6, 2021 · If 'register' is an Angular component, then verify that it is part of this module. To allow any element add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.

  8. angular - No provider for _HttpClient - Stack Overflow

    Nov 14, 2023 · I'm working on a personal project with Angular 17, and there are some settings that I get from the backend of my application. But my Angular HttpClient does not work and honestly I don't …

  9. angular - Difference between Constructor and ngOnInit - Stack Overflow

    Mar 3, 2016 · Angular provides life cycle hook ngOnInit by default. Why should ngOnInit be used, if we already have a constructor?

  10. How detect changes in an input field as we type-in [Angular]

    Learn how to detect input field changes in Angular as you type for real-time updates and dynamic user interactions.