Category "angular"

Angular. Form Model Validation

I'm trying to follow an example from Adam Freeman's book on Angular and now stuck with Using a Form Model for Validation. I have a similar issue as in Angular T

How to compute the remaining free space or width of div?

I am looking for a way to compute the remaining width of a div after adding inner spans dynamically GetWidth() { let txt = divElement; console.log(even

how to do on the Angular svg map to bubble point?

I added this map for the angular type script project, dose any one know to how to create bubble count region on the map like this image Stack blitz here here th

How to detect if the user is in dark mode ( Tailwind / Angular )

I have a navbar with a dark mode button that I would like to change when the user is on dark mode and back to the old one when he is back to light mode. picture

CDK drag-drop is not working in Tablet device

I'm trying to use the Angular Material CDK Drag-Drop module from https://material.angular.io/cdk/drag-drop/overview It is working in desktop device but it is no

Add Button to Modebar to display in Fullscreen (Plotly JS)

I would like to add a custom button to the plotly graph to make the graph full screen. I have seen some solutions for the programming language 'R' but I did not

ngx-print not printing scrollable table (print media solution doesnt work)

Im working with Angular. Im using ngxPrint. I try to print a scrollable table (it has too many columns). ngxPrint can print successfully a lot of rows, but it i

How do i add a property from one Observable to the second Observable?

I am trying to add an address Observable to a user Observable. export interface Address { country: string; state: string; city: string; street: string; zip

Angular Material Datepicker Selection Strategy - how to get value of selected date range

I'm trying to create a table which will display some info. The columns will be dynamically changing according to the selected date range. I'm using Date range p

Angular RouterModule - getting 404 on page refresh with path defined in routes Azure Static Web Apps

I had created child components to lazy load based on nav menu click which has paths "HTML". The app-routing.module.ts has the following routes defined, const ro

How can I bind my selectAll button in Angular to an $event change?

May I know how to trigger the $event on the click of my selectAll button in Angular? My code are as follows: <div class = "col-md-auto" id = "container">

Angular Font Awesome Icons not Rendering (tried other suggestions on site)

I am attempting to add a delete icon to my Angular task list project. I have used ng add @fortawesome/angular-fontawesome. I then used npm install later when t

angular universal + @angular/flex-layout cannot work well on first rendering

I am on a ssr project with angular universal , and use flex-layout to handle media css issuses. I found this issuse , and imported FlexLayoutServerModule into

I can't add labels to svg path

I want to add a custom-styled label to my object. this is my code of SVG: <svg height="512" version="1.2" viewbox="0

Error: The selector "app-redirect" did not match any elements, I am trying to upgrade to MSAL v2 and obtain refresh token

[Console error import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { SharedModule } from './shared/s

Chosen label is not changing after cancel button in ng2-daterangepicker

Using n2-daterangepicker. Facing two problems. When select custom range its not changing the chosen label change If applied cancel button and then click custom

Subscribing to firebase topic do not filter push message

Context I am developping an Angular web application using firebase messaging. I configured firebase successfully (I guess) and I now subscribe to a "users" topi

Regex for duplicate words in a string with one of them with a apostrophe in Angular

I want to create a regex for a requirement, a string is having duplicate words but in that duplicate words one is with a apostrophe. For example: EXCHANGE CORRE

Is it possible to connect a PHPmyAdmin database using Angular and Postman?

this is my first time using StackOverflow and I don't know how this works but I'll be quick and short. So, I'm in an internship and I'm learning Angular and I o

Use Angular library repository as dependency via Bitbucket

I got a problem regarding the use of an Angular library repository. Hopefully find an answer here :) I have an Angular repository which holds one single Angular