306,741 questions
0
votes
0
answers
19
views
Angular 20 SSR & Prerendering: Subpages "Crawled - currently not indexed" on Firebase Hosting
I am struggling with an indexing issue on an Angular 20 project hosted on Firebase. While my main landing page is indexed, all subpages remain in the Google Search Console (GSC) status: "Crawled –...
0
votes
0
answers
30
views
How to write custom schema validator functions for union types?
We have a bunch of nested models and I'm currently writing schema validator functions for those models so that we can combine the overall validation with some kind of encapsulation of the validation ...
-4
votes
1
answer
38
views
ASP.NET Framework 4.8 + Angular 18 — CSP nonce without unsafe-inline breaks UI, and inline scripts still execute
I am working on a legacy ASP.NET Framework 4.8 application that hosts an Angular 18 SPA.
My goal is to implement a strict Content-Security-Policy (CSP) using nonce, without using:
❌ unsafe-inline
❌ ...
0
votes
0
answers
28
views
Angular Capacitor Android: Making Password Manager Work with Login
I’m working on an Android app. I want to make the password manager on Android (Samsung device) usable with my login form.
I’m testing the app via USB debugging on an older Samsung phone. According to ...
1
vote
0
answers
28
views
How to make skeleton loaders with a delay work with SSR + hydration on initial render?
I'm trying to implement skeleton loaders alongside SSR and Angular hydration, but I'm facing a problem where I can't figure out how to make this work properly on initial render.
delay(1000) is applied ...
0
votes
0
answers
32
views
Angular Ivy: _lView index exceeding 32767 limit after migration from View Engine (template too large?) [closed]
We’re migrating a legacy Angular 11 project from View Engine to Ivy.
After switching to Ivy, the application crashes during change detection with internal errors that trace back to _lView array access....
1
vote
1
answer
45
views
Angular 18 UI breaks when removing unsafe-inline from style-src CSP
I'm working on an Angular 18 project (no SSR, standard client-side rendering).
My goal is to have a strict CSP without 'unsafe-inline' or 'unsafe-eval' anywhere.
Current web.config CSP (very strict):
...
1
vote
1
answer
46
views
Is it possible to generate @cases?
In Angular 16, I had code like this to generate switch cases using the old syntax:
<div [ngSwitch]="someOption">
<ng-container *ngFor="let element of coll">
...
0
votes
0
answers
70
views
How to send a image for the mail body content using Angular [duplicate]
I am trying to send an image in the body of an Outlook email using Angular. But it is not working.
Is this possible?
app.component.ts:
import { Component, VERSION, OnInit } from '@angular/core';
@...
0
votes
2
answers
45
views
Extend signal form's FormField directive
Just learning signal forms and I'm trying to extend the functionality of the new FormField directive in angular 21 to add some custom classes to show valid/invalid states on my input.
So, here's what ...
Best practices
0
votes
2
replies
28
views
Angular v21 SSR provide dynamically loaded routes
I have Angular v21 app in ssr standalone architecture. In my app.ts I dynamically load either a mobile or desktop version depending on the window width. I want both mobile and desktop versions to ...
0
votes
0
answers
52
views
Angular 17 - routes extraOptions not working in a standalone + modules type mix application
Environment:
Angular 17
Application starts as standalone. Some parts of the application is having standalone components and some have modules. The issue is in a component which is part of a module.
...
0
votes
1
answer
58
views
Multiple instances of angular component react to changes from other instances
I have a moderately sized angular app with an edit control (edit, save, cancel) used throughout the app that controls permissions, view state/etc. There can be multiple instances of this component in ...
Best practices
1
vote
3
replies
39
views
Angular : data fetched is not appearing in html
I am creating an e-com project. I am fetching data from the backend, the data is being returned, but in my html, the array is appearing empty.
private apiService = inject(sProducts);
url: string = &...
0
votes
2
answers
56
views
Angular 14 ES5 build still fails on LG webOS 3 / webOS 4 (Chromium 68) – runtime error Cannot read property 'get' of undefined
We are using Angular 14 for our frontend application. As per Angular’s build process, the final output is plain HTML, CSS, and JavaScript. Based on this, our understanding is that Angular applications ...