Questions tagged [angular]
Questions about Angular (not to be confused with AngularJS), the web framework from Google. Use this tag for Angular questions which are not specific to an individual version. For the older AngularJS (1.x) web framework, use the AngularJS tag.
angular
255
questions
1
vote
2
answers
47
views
How to Add Secondary and Success Colors to a Custom Material Theme?
I'm working with Angular 17 and have successfully created a custom Material theme with primary, accent, and warning colors. However, I would like to add additional colors such as secondary and success ...
-1
votes
2
answers
48
views
Argument of type 'Number' is not assignable to parameter of type 'string | number | null | undefined'. [plugin angular-compiler]
I got the error with DecimalPipe while converting number
My code:
Service
export interface RoomList {
roomNumber: number;
roomType: string;
amenities: string;
price: number;
photos:...
0
votes
0
answers
9
views
In CKEditor, typing a letter or sentence and making it a list changes the heading from Paragraph to Choose Heading after selecting the list
When i enter any Letter/Sentence in CKEditor, then make it as any List and here after selecting the List the Letter/Sentence Heading is getting change from Paragraph to Choose Heading.
List are not ...
-1
votes
0
answers
16
views
Select Multiple area on image using drag and create hotspot in angular 8/ javascript
Hi all,
I want to implement a feature where user can select multiple rectangular area on image and create hotspot.
Once user click and drag from one position to second position it will draw like ...
0
votes
0
answers
15
views
Resize Owl-Carousel items when container width changes
I am using ngx-owl-carousel-o and I have a particular problem.
I want the owl-carousel to resize the items when the container resizes.
This is because I have a side menu that resizes the main content ...
0
votes
1
answer
36
views
Angular - Why is my search bar not working well?
dashboard.component.html :
<div class="search-bar">
<form class="search-form d-flex align-items-center" method="POST" >
<input type="...
0
votes
0
answers
23
views
how I can implement custom filter for datatable with angularjs?
Need to fetch row, with rank 50
Expecting to get right method in above section
this.dtOptions = {
ajax:
{
url: this.apiHost+'/stock/list',
dataSrc: 'apiData',
processData: true
},
...
0
votes
1
answer
33
views
Loading Firebase Config dynamically in Angular in @angular/fire
I have an angular v18 application with @angular/fire v18
I am using the modular api version of it. I am trying to load the firebase config dynamically during run time
Current I have the following code....
0
votes
2
answers
36
views
Multiple Interfaces for the same object
I try to use a different type of declaration for my object "docs", because I want to use the same interface ResponseInterface for different requests, one is for User[] and other is for ...
0
votes
0
answers
15
views
How to make two overlapping mat-sliders moveable?
I want to have two overlapping mat-sliders, but when I set it in below way,I'm able to move only second one...
<h1>EXAMPLE</h1>
<div class="sliders-wrapper">
<mat-...
0
votes
0
answers
17
views
Issue with authentication recaptcha token
I have an Angular website base where I'm just working on the whole authentication workflow using Firebase. The workflow I choose is to signup using email and then requesting the phone number to enable ...
0
votes
0
answers
22
views
Installing Angular npm error code ECONNRESET npm error syscall read npm error errno -4077 npm error network read ECONNRESET
I am trying to install angular using npm. I installed Angular with no errors but when I do ng new test it creates the files but does not get past the installing stage. I am under a corporate network ...
0
votes
1
answer
21
views
Enabling the Animations Module in Angular 18
I wish to enable to Animations Module in Angular 18 to build a little app where the user clicks a button and a div moves across the screen. I don't know how to follow the documentation here.
enter ...
-1
votes
0
answers
15
views
CSP not showing on browser
I'm quite new to coding, and I'm developing an application using Express, Node JS and Angular. Right now, I am focusing on security, so I did some research and found the Content Security Policy, which ...
0
votes
0
answers
18
views
Linked Stylesheets in Angular: Understanding Inline Inconsistencies
I ran into a problem with how Angular handles styles: With some linked stylesheets, Angular makes them inline on build, but with other linked stylesheets it doesn't. In neither case are any of these ...