Questions tagged [angular5]
Questions about Angular version 5, the web framework from Google. Use this tag for Angular questions which are specific to only version 5. Use tag Angular for any Angular questions which are not specific to an individual version.
angular5
6,541
questions
3
votes
1
answer
4k
views
Values css _nghost-c0 in angular
I'm learning Angular 5 and I see the html tags with the ng generated attributes: _nghost-c0, _nghost-c1...
What does it mean?
[_nghost-c3] .employees[_ngcontent-c3] button[_ngcontent-c3] {
color: #...
2
votes
1
answer
541
views
set datepicker value automatically based on previous datepicker in angular(setvalue)
I have two datepickers picker1 and picker2. What I am trying to to is that when I select a date in picker1 the picker2 should automatically get selected and the date in the picker2 should be 60 days ...
-1
votes
2
answers
635
views
Converting a complex timestamp to normal time in angular
I have a time stamp like
2021-03-12T14:55:35.454Z
I want to convert that into normal time like this (below) in the ts file
2:55pm
I am working in angular. Please help if you guys know. I have ...
-1
votes
2
answers
561
views
How to append data at a particular position of an Array in Typescript
I am getting this data from backend.
"choices": [ [ "gender", "Gender" ], [ "age", "Age" ], ["relationship", "Relationship Type"], ...
0
votes
1
answer
2k
views
How to get current page url in ftl file
My code is looks like this:
<li class="${properties.kcFormSocialAccountListLinkClass!}"><a href="http://localhost:4200/" id="zocial-${p.alias}&...
1
vote
2
answers
1k
views
Angular dropdown value changing All dropdowns value
I am working on angular 5 and facing issue with dropdown where user can add multiple data.
I have a form where I've added few text boxes and a dropdown, Then i have a add more button which duplicate ...
0
votes
0
answers
58
views
Highchart Different points are showing for simmer value in the tooltip after zoom in
I am getting deffernt points in graph after doing zoom in like showing for 0 showing mutiple places for same vlaue for x and y axis.
after adding
dataGrouping: {
enabled: false
}
Getting Following ...
0
votes
1
answer
10k
views
NgClass Error Angular (Can't bind to 'ngClass' since it isn't a known property of 'a')
I'm new to angular, and I'm trying to dynamically add a bootstrap class to my html, based on the active tab, however, I'm getting an error. Can you help me?
My error: Can't bind to 'ngClass' since it ...
2
votes
1
answer
744
views
Angular 5 - Dynamically add items to an array
I have these two functions:
cart() which is an array object (this information is static)
cartItems which is an array object (this information is dynamic)
Inside the cart there can be several cartItems....
4
votes
1
answer
2k
views
Upgrade angular 5 to angular 11
I have an app that is running on angular 5.2. It uses Angular Material and PrimeNG as well. I went to https://update.angular.io/?l=3&v=5.2-11.0 and it shows all the updates that need to be done, ...
1
vote
1
answer
2k
views
Can't bind to 'ngif' since it isn't a known property of 'span'
I have created a Hybrid app using ngUpgrade and am currently going through my directives upgrading them to Angular components.
I have ran into this issue and cannot seem to fix it
Can't bind to 'ngif'...
0
votes
1
answer
759
views
Comparing two objects in typescript and do assignment operation in one of the object
I have an Object which looks like below. It is called as selectedFilters.
selectedFilters = [
{columnName: "gender", values: ["Male"]},
{columnName: "approximate_age_band&...
-1
votes
1
answer
632
views
Infinite scroll not working in old Nebular site
I have a website which is based on an old version of ngx-admin (Nebular) which i am assuming version 2.1.0.
the new nebular documentation does not seem to apply to my website, so i am trying to add an ...
1
vote
1
answer
3k
views
Convert the local file URL to blob in angular 5
How can I convert the local file URL to the blob before I pass it to the FileReader. Here, I'm trying to convert the local file in the assets to convert it to blob and pass it to the file reader. Is ...
0
votes
2
answers
3k
views
Ag grid pagination arrow is not showing properly
I have recently updated my angular project from v5 to v11 and also updated ag grid.After up-gradation the pagination button is showing like box not as arrow sign.
<ag-grid-angular #agGrid
...