Category "angular"

node-express how to pass DATE params in URL query string and how to parse that

I have an app built on angular 2, a service in that sending http request to fetch the data from oracle DB, usind node-oracle db and express framework. I have b

angular cannot get data from backend to frontend

I'm trying to get data to the angular frontend. Tried to get data from another api, but still doesnt worked for me. So the API is working but the data cant disp

Are Angular Service Modules still required?

In the angular docs, it lists the types of feature modules that one can implement. One of those being a service module. https://angular.io/guide/module-types

Run angular with ssl

I want to run my angular (7+) project with ssl certificate on localhost ( https://localhost:4200). I tried the following from this link source - Get angular-cl

Angular oriana weather city condition

We had written code for angular Oriana weather condition. in that there is a file / code for weather ts. when compiling getting error. Code is - Search TS impo

Couldn't add .NET Core tasks.json in VSCode

I've created an ASP.NET Core app with Angular from the console (dotnet new angular command). I want to enable debugging in Visual Studio Code for this applicati

@types included in 'typeRoots' but only working if explicitly included

I'm attempting to use the grecaptcha types package (@types/grecaptcha), but even though in my tsconfig, its setup as: "typeRoots": [ "node_modules/@types" ],

Angular: Cannot Get /

I am trying to open, build and run someone else's Angular 4 project but I am not able to view the project when I run it my way. I don't see what is going wrong

delay NgModule declaration with async import module

I would like to dynamically import a third-party module and check it. Then declaration in NgModule depends on it exist or not(true/false). Something like my cod

Angular - Server side - Initial response time is very high

My site - https://sandbox.billionlearners.com => It is on Angular 12 SSR (running on node) Total time taken to render the page is @6secs but initial server

Convert a mat-datepicker into a String

I'm trying to have a reactive form in which there is some dates that are entered by the user using mat-datepicker. The problem I face is that the output of the

Angular/Jest - Test that the subject has thrown error after setter is called

I have a class that is responsible for setting the theme for my application. I'm trying to test that it throws an error if you give it a theme that it does not

How to change the date format in the datepicker of Angular ngx-bootstrap inside a form

Using ngx-bootstrap Datepicker in an Angular 4 application, I know that normally you can specify the date format this way: <input id="from" name="from"

Angular: 7.2.1 ES6 class ReferenceError : Cannot access 'X' before initialization

I'm having the following TypeScript class export class Vehicule extends TrackableEntity { vehiculeId: number; constructor() { super(); return supe

Angular: css variables are not usable in components

Hi i am trying to use css variables to predefine colors for example. Here is my app.component.css :root { --main-bg1: rgb(26, 28, 29); --main-bg2: rgb(66, 7

How to get all the values in one wrapping circle in swimlane-ngx-charts - gauge chart

I'm using the ngx swimlane charts ( import { NgxChartsModule } from '@swimlane/ngx-charts'; ) . Here in the charts ( https://stackblitz.com/edit/swimlane-gauge

Conditionally apply click event in Angular 4

Is it possible to define a condition in the template based on which a click handler is attached? For instance, the closest I can get is evaluating a condition

How to save Dynamic Form Answer in Angular?

I'm trying to save some data that I display dynamic in the browser.This is my HTML where I iterate trough a list of exam questions dragged from the database and

Unexpected character '@' from [script.*.js]

When I try to production build angular, i encountered the error 'Unexpected character '@' [scripts.*.js]'. Production command ng build --prod Angular version:

Disable the entire form at once (Angular reactive form)

Is there any way to disable the entire form in angular when using Reactive forms. I know it is possible to make them disable one by one. this.tempForm = this.