Category "angular"

What's the best way to add localization-translation to angular mobile application, all languages? [closed]

What's the best way to add localization-translation to angular mobile application, all languages??

How do I publish a .NET Core + Angular single page app for different environments?

Some additional context: I created a solution using the Angular project template with ASP.NET Core in Visual Studio 2019. The app has several different environm

Content type 'text/plain;charset=UTF-8' not supported for post request in angular 4

I'm using post request with HttpClient like below, return this.httpclient.post<any>(url, body) .catch(this.handleError) then it gives me be

ASP.NET Core and Angular Deployment - page refresh gives 404 error

I am working on a project in Angular and ASP.NET Core hosted on Plesk. The project is working fine except the page refresh yields the 404 page not found error.

Filtering an observable array into another observable array (of another type) by an observable property of the items

As the title probably doesn't explain to well what I am doing, I'll give a small example: A REST api returns a list of objects. For each of them, a checkbox sh

Web App SPA & OIDC: How to properly authenticate before accessing the front?

I have a regular web app, composed as usual of a frontend SPA (angular) and a backend. The server calls are protected from unauthorized calls through authentica

Function DocumentReference.set() called with invalid data. Unsupported field value: a custom Budget object

Below code works fine until today. But I don't know now it is not working and gives below error.Could you tell me why? Error: Function DocumentReference.set

Using Google One Tap in Angular

I'd like to use Google One Tap in my Angular 11 app. Following the documentation I added <script async defer src="https://accounts.google.com/gsi/client">

Nginx config to serve an Angular app under an URI prefix where files are generated in the same folder as "index.html"

There are a lot of Angular/Nginx examples on the web but I'm still unable to make my config work. I use Angular 13. In angular.json: outputPath is "www" baseHre

IIS: Angular request causes 401 unauthorized error when calling Python Flask on another port on same server

I have a legacy Angular application and there's a snippet of code below that makes a call to a ASP page on the same server and port getTableData.getUser = funct

mat tab inside tab selected index not working

When tab inside tab then if selected index of sub tab is 1 then it should show as selected. Let parent tab has two tabs, it has selectedIndex is 0, and sub tab

mat tab inside tab selected index not working

When tab inside tab then if selected index of sub tab is 1 then it should show as selected. Let parent tab has two tabs, it has selectedIndex is 0, and sub tab

How to detect change from one component into other

Angular 4. Github source I have a menu which is filled by a web service. The web service is in taskService, but is not necessary now. ngOnInit() { this.

Angular Material datepicker does not return value when action button is in use

The problem is that when clicking today-button, it is working, but when changing the date in datepicker, nothing happens and this seems to be because action but

ANGULAR | Use two components with same route

I need to use this route '/', but this route must use a component which is selected after auth validation. I want to do what Facebook does. When you are about t

How can I cast an AbstractControl to a FormControl in a template?

I have a FormGroup that I'm passing from a parent component to a child, and then within that FormGroup there's a control that I'm passing from the first child t

Make proxy configuration works with firebase hosting

I have an angular app with some proxy configuration. proxy.conf.js { "/my-api": { "target": "http://app.myapp.fr", "secure": false, "cha

Controlled input component in Angular 4

Is there any way how to control value of input only by on change handler in angular 4? I would like to achieve the same behaviour as with React's controlled co

ng-bootstrap - ngbtooltip not working with [(ngModel)]

I'm new to angular 4 and bootstrap beta 2 and trying to use ngbtooltip to show tool tip text. Tooltip on the label is working fine when only input does not have

NG0200: Circular dependency in DI detected,Why and How to do?

I want inject ParentCompoent to ChildComponent, But have a error is: Error: NG0200: Circular dependency in DI detected for ParentComponent parent