About 11,200,000 results
Open links in new tab
  1. Angular 19 - Component AppComponent is standalone, and …

    Nov 18, 2024 · On my Angular v19 app I get the following error: Component AppComponent is standalone, and cannot be declared in an NgModule or 'imports' is only valid on a component …

  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: 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> …

  4. How to get the Angular version? - Stack Overflow

    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 …

  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. Send data through routing paths in Angular - Stack Overflow

    This Stack Overflow page discusses how to send data through routing paths in Angular, providing insights and solutions for developers.

  8. Angular change input signal value from within component

    Feb 2, 2024 · As of Angular 17.2.0-next.1: Input signals are read-only inside the component that receives them.you can't change the input signal directly. you have to use a computed property …

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

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

  10. javascript - Angular window resize event - Stack Overflow

    I wrote this lib to find once component boundary size change (resize) in Angular, may this help other people. You may put it on the root component, will do the same thing as window resize.