All Questions
735
questions
0
votes
2
answers
40
views
Angular 15, .pipe .subscription response modifications
let data = { ticketId: id };
this.apiService
.call("tickets", "/detail", "GET", true, data, null)
.pipe(first())
.subscribe(
(data) => {
data = this....
0
votes
0
answers
41
views
Is there a Flutter equivalent of the pipes in Angular?
I am learning Angular, and I have discovered pipes, which not only seem very useful but should also be much more RAM-efficient than functions for data transformation. Is there an equivalent of Angular ...
0
votes
1
answer
45
views
Angular 13, custom pipe in AppModule cannot be used in a SubModule
In my Angular application, I have a custom pipe, put it in "declarations" and "exports", in AppModule. I have a sub module "HomeModule", with a HomeComponent. Now, I use ...
0
votes
1
answer
41
views
How to load images with JWT Authorization in the header in Angular 16?
I have implemented authentication with JWT token.
And API calls are working properly by using auth intercepter.
But there occurs unauthenticated error while load images from backend.
I want to fix ...
0
votes
2
answers
58
views
Angular - PipeTransform - Filter observable array
I have a problem when creating a PipeTransform, the input is Observable<Array> and I want to filter this Array it based on another parameter, but it doesn't work.
Any help where I'm going wrong?
...
0
votes
2
answers
76
views
How do I add I reverse pipe to *ngFor that uses an Observeable?
I have an Ionic app that uses firestore and AngularFire auto IDs when adding to the collection. I want to grab the firestore collection and reverse the order. I think I have the pipe right, but ...
6
votes
2
answers
7k
views
How do you register custom pipes in Angular 17?
I just created a custom Pipe and normally I would register it in app.module.ts, but In Angular 17 we dont have that file. How do we register now? TIA
I was thinking of importing into the imports array ...
1
vote
3
answers
159
views
Convert utc date time to local in angular
I'm getting this date time format
Sat Nov 18 2023 22:30:00 GMT+0530 (India Standard Time)
this.selectedDate = info.date;
i want to convert this date time into local date time object but the format ...
2
votes
1
answer
694
views
After Angular upgrade to 16 - error NG8004: No pipe found with name 'txtTranslate'
I have updated my Angular app from Angular 15 to 16.
I got few compilation errors with few node packages and i resolved them.
Even after that getting many errors as below as ng serve
error NG8004: No ...
4
votes
3
answers
4k
views
How can I use async pipe with @defer to load and declare variable in template in Angular 17
For Example using @if, I am able to do this: @if(items$ | async; as items). I am able to declare 'items' as a variable holding the array of items using the 'as' keyword in the template.
How can I ...
0
votes
1
answer
243
views
`moment` library vs angular `Pipe` in handling Date formatting
I am using both moment library and angular pipe to handle Date object (formatting).
The problem I have found is the difference in interpretation of the date format string.
I have java script Date ...
0
votes
1
answer
171
views
How to use Angular pipe for CZK currency?
I want an angular currency pipe to transcribe a number into czk currency in this way:
1000 => 1 000 Kč
3141592653589 => 3 141 592 653 589 Kč
4 => 4 Kč
The pipe should also ensure, that the ...
0
votes
1
answer
170
views
Angular Currency Pipe Symbol not available for GYD (Guyana Dollar), How can I configure the Symbols in App.module?
<h1> My rate is : {{'202' | currency:'GYD'}}</h1>`
Current Output is : GYD 202
Expected Ouput is GY$ 202
0
votes
2
answers
76
views
Angular, How do not use translate pipe in some situations
In mat-table I have API for getting column names, aligns and etc. After getting column names from backend, I put column name in translate pipe for internationalization.
But, I do not want to use ...
1
vote
1
answer
354
views
Angular: can I trigger a pure pipe when the input object is changed? (object reference not changed but the inside of that changed)
There is a pure pipe which input is an object. Inside the object there are several another reference type properties. As I know when any of the property in the object is changed it has no effect for ...