Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
62 views

Does Angular Material plans to remove the deprecated @angular/animations package?

In Angular v20, @angular/animations package is now deprecated in favor of pure CSS. I wonder since i cannot find any information about that anywhere, is there plans to remove that deprecated package?
amaredeum's user avatar
  • 393
2 votes
6 answers
144 views

Animated height without `@angular/animations`

With the latest angular version, @angular/animations is being deprecated. I am struggling with migrating an animation in my application. This minimal example shows the animated height. Minimal example:...
stiil's user avatar
  • 147
-3 votes
2 answers
62 views

How do I use HTML wrapped in text quotes inside of Ionic ion-text

I am receiving a string from the API textInsert = "<p>Hello</p><br><p>There</p>" I wish to use the with <ion-text color="secondary"> {{...
Thomas Degroot's user avatar
0 votes
2 answers
353 views

Serving a new nx/angular throws an error related to compiler [closed]

I created a nx/angular project (latest version for both) and tried to serve the project but I'm getting this error: compiler.__internal__registerBuiltinPlugin is not a function I've searched online to ...
Le_Buzz's user avatar
  • 53
-4 votes
1 answer
88 views

toSignal() cannot be called from within a reactive context [closed]

When I subscribe and update the signal getting error as follows. any one pls help me to come out of this issue? Error detail: ERROR RuntimeError: NG0602: toSignal() cannot be called from within a ...
3gwebtrain's user avatar
  • 15.4k
1 vote
1 answer
89 views

Getting error while convert existing code to use signal in HttpClient put method (Angular 20)

I am new to Angular. I started with Angular 19 that were using zone.js for change detection. But then I moved to Angular 20 and now I am using zoneless. I have a put method call that I am trying to ...
Basit's user avatar
  • 8,760
0 votes
0 answers
49 views

Primeng20 Component-level css styles is not getting evaluated

We have Angular hybrid application where we are using PrimeNg20 with Angulra20. Tries with below dependencies: "primeicons": "^7.0.0", "@primeuix/themes": "1.2.3&...
Kanti's user avatar
  • 1,092
1 vote
1 answer
132 views

How to bind outputs to ng-template in Angular 20?

I'm doing the following, which works as expected. <ng-container *ngComponentOutlet=" step.component | async; inputs: { someId: someId, stepper: stepper, step: step, ...
Konrad Viltersten's user avatar
1 vote
1 answer
65 views

Can't access inputs from host directive to HTML template

In the docs for Angular host directive, it's stated that I can use my inputs/outputs in the template like this. @Component({ ... template: "ID {{someId}}", hostDirectives: [ { directive: ...
Konrad Viltersten's user avatar
2 votes
1 answer
196 views

How to iterate over a Angular signal object in the html by using @for

In the html, I have to iterate over a WritableSignal object variableList(), but this html code will not run the loop unless the json string of the variableList() will show correctly in the same html. ...
Juergen Gross's user avatar
-2 votes
1 answer
108 views

Angular ng package build doesnt include lib folder after angular 20 upgrade [closed]

After upgrading my angular 19 ng package to angular 20, it seems that the lib folder is missing in the build of the package. After running ng build my-lib the lib folder misses under dist/. I tried ...
himtim's user avatar
  • 312
0 votes
1 answer
109 views

Angular 20 Can't bind to 'routerLink' since it isn't a known property of 'a'

Although I have used a previous stackoverflow solution, I still get the same error. The other problem is that there is no script in Angular 20 that has @NgModule. Here is the code I have: navbar.html ...
JOEMface's user avatar
2 votes
1 answer
87 views

How to handed a relationship between two signals by linkedSignals in Angular v20?

I have to mange a relation for X*2=Y, there Y and Y are input fields. In the moment, I trigger by a change of the input field the related variable as X changed => Y=X*2 Y changed => X=Y/2 import ...
Juergen Gross's user avatar
2 votes
1 answer
173 views

Loading GoogleMaps API in Angular 20 Karma unit tests

Having updated an Angular v19 app to Angular v20, the Google Maps API is not being loaded in the Karma unit tests. All the unit tests on components which serve Google Maps fail with the following ...
Winthorpe's user avatar
  • 1,272
0 votes
1 answer
2k views

Getting the deprecation warning for ngIf/ngFor/ngSwitch/ngSwitchCase/ngSwitchDefault in my project

Trying out Angular 20. Getting the deprecation warning for all my control flow elements. 'NgSwitchDefault' is deprecated. 'NgSwitchCase' is deprecated. 'NgSwitch' is deprecated. 'NgFor' is deprecated....
Naren Murali's user avatar

15 30 50 per page