About 12,900,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> …

  2. How to install a specific version of Angular with Angular CLI?

    I searched through google and angular cli doc but couldn't find any way to install a specific version of Angular using Angular CLI. is it even possible?

  3. Binding select element to object in Angular - Stack Overflow

    I also tried binding to the change event so that I could set the object myself based on the selected id; however, it appears that the change event fires before the bound ngModel is updated -- …

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

  5. javascript - Angular window resize event - Stack Overflow

    Thanks for the info Sasxa/Pankaj - I wasn't sure whether it was just a plain javascript thing or a Typescript thing or an Angular event thing. I'm climbing a very steep learning curve for myself …

  6. angular - Cleanest way to reset forms - Stack Overflow

    What is the cleanest way to reset forms in Angular 2 latest version? I would like to reset the input textboxes after adding a post. @Component({ selector: 'post-div', template: ` &l...

  7. angular - Format date as dd/MM/yyyy using pipes - Stack Overflow

    I'm using the date pipe to format my date, but I just can't get the exact format I want without a workaround. Am I understanding pipes wrongly or is just not possible? //our root app …

  8. Can not find module “@angular-devkit/build-angular”

    Using npm, I followed the getting started directions on the Angular CLI quick start page. Angular CLI Quickstart Running ng serve --open after creating and going into my new project …

  9. 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 …

  10. 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 …