Skip to main content

All Questions

0 votes
2 answers
2k views

error NG5002: Parser Error: Unexpected token ===

we are stuck in a problem in angular. if we run the angular 16 project with micro-frontend then we see this error error NG5002: Parser Error: Unexpected token ===
manish jadli's user avatar
0 votes
1 answer
231 views

Undefined variable in component upon API call

I'm getting a lot of my variables undefined and ran at times when they shouldn't run. My best guess is that it is related to the way I make the API call. Full code - https://fennzo-advantageapi-...
bryan lee's user avatar
0 votes
1 answer
24 views

Show word count after three words?

I am calling data from api in angular and it is a multiselect option what I want is if data is more than three words its should show count of remaining entries how can I do this can anyone help?
Juned Adenwalla's user avatar
0 votes
1 answer
97 views

How to make custom directive in Angular2+ for giving , between number?

How to make custom directive in Angular2+ for giving ,(comma) between numbers? For example: 100000 should output 1,00,000 Note : [ , should be come from custom directive]
1AM13IS002's user avatar
2 votes
1 answer
4k views

How to solve out the $event issue in angular application when I'm using and Angular Material and some code customizing it

I found an issue in Angular 6 version with that using Angular Material. Anybody can help me to fixed this error of $event. ERROR Error: Cannot assign value "$event" to template variable "...
AtiRadeon's user avatar
-2 votes
1 answer
218 views

Return a specific object in array angular

I am starting to work with angular. i need to return the object that matches the search or atleast includes that. Please advise, i am currently returning all objects return items.filter( it => { ...
Douglas kadzutu's user avatar
3 votes
1 answer
336 views

Error: Cannot find a differ supporting object '[object Object]' of type 'object' Angular 6

I have a problem with. I looked for other solutions and found none that would help me. The error is: ERROR Error: Cannot find a differ supporting object '[object Object]' of type 'object'. NgFor ...
Edson Junior's user avatar
0 votes
1 answer
423 views

Validator pattern for angular 2

How do i attach the right validation string to this Validators.pattern array in the code below. password: ['', Validators.compose([ Validators.minLength(8), Validators.maxLength(20), ...
victoroniibukun's user avatar