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

    Update (Angular 17 and higher) Angular now supports control flow syntax (introduced in Angular 17), which allows you to write cleaner and more expressive conditional logic directly in …

  2. Angular [disabled]="MyBoolean" not working - Stack Overflow

    Mar 18, 2021 · I faced this problem in my Angular app, it seemed a silly problem for me cause I disabled/enabled a couple of my elements with [disabled] or [attr.disabled] though in part of my …

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

    Feb 17, 2022 · A reasonnable move is to keep your angular-cli version alligned with your angular version, otherwise you risk to stumble into incompatibilities issues. So getting the correct …

  4. Send data through routing paths in Angular - Stack Overflow

    Jul 2, 2017 · Since Angular 15, this.router.getCurrentNavigation() might return null, because the component is instantiated after the navigation. The alternative is to access the state from the …

  5. After Angular update npm install fails because of peer dependency ...

    Aug 11, 2021 · npm install @angular/cli@latest -g ng update @angular/cli, ng update @angular/common npm install @angular/cdk@latest npm install @angular/material@latest in …

  6. What is the proper way to reference assets in the new Angular 18 ...

    May 24, 2024 · In Angular 18 the structure for referencing assets has changed and assets are now managed inside the public folder, earlier assets were placed under the src/assets …

  7. Difference between *ngFor vs @for in Angular 17

    Feb 18, 2024 · Been trying to upgrade and migrate some of my angular projects into Angular 17. Also still learning the standalone component as part of the major upgrade of the said version. …

  8. angular - How to proxy API requests to another server ... - Stack …

    Nov 20, 2023 · Currently, as of Angular 12, the official approach is like this: Create a file called proxy.conf.json in the /src folder of your project and use it to define your proxies:

  9. How to upgrade Angular CLI to the latest version

    May 12, 2017 · To update Angular CLI to a new version, you must update both the global package and your project's local package. Global package: npm uninstall -g @angular/cli npm cache …

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

    After installing Angular CLI globally you can run this command in any directory to get all the details. ng version To install Angular CLI globally using NPM (Node Package Manager) npm …