306,966 questions
0
votes
0
answers
5
views
How to remove 'unsafe-eval' from CSP in legacy ASP.NET Core 3.1 MVC + Angular 12 project using MVC and JIT compilation?
I have a legacy project developed with ASP.NET Core 3.1 MVC and Angular 12 (originally it was Angular 5).
I need to set a Content Security Policy (CSP) for the website without using 'unsafe-val' to ...
0
votes
0
answers
22
views
Angular - scroll to table row on page load
I have a mat-table in my app (angular v20) that is loading a longer list.
If an additional ID is provided, I would like to scroll to that ID in the table.
My problem is that I didn't find the right ...
0
votes
0
answers
15
views
Angular login showing blank white screen
I am trying to implement login function in angular application. When I login, I am storing current user information to local storage and using that value in another modules to get current user's id , ...
0
votes
0
answers
14
views
Automatic redirection is not working for the deployed internalized Agnular app
I'm working on the site internalization using Angular, i18n, and Apache2.
Steps I made
I made site translation using an .xlf file for the uk locale. en locale was set as the source locale.
I adjusted ...
0
votes
0
answers
14
views
How to set basePath with openapi-generator-cli 7.12.0
Hey i have following openapitools.json
{
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
"spaces": 4,
"generator-cli": ...
0
votes
0
answers
26
views
Why am I getting NG203 when calling createComponent
I am trying to use Module Federation to load a remote component. I can see that SharedComponentRole has a correct value, however on calling container.createComponent I get the following error:
...
0
votes
2
answers
39
views
Generating Angular Routes via API
I've looked at previous posts on this which are now somewhat out of date.
I want to generate my Angular routes via the API backend. The reason for this is so that different routes can be generated ...
0
votes
0
answers
46
views
Embed application insights into our web app
I need to embed our Azure Application Insights dashboard into our web application using an HTML . How can I achieve this securely?
I tried embedding the Azure Application Insights dashboard in our web ...
-1
votes
0
answers
41
views
Angular - non-existing circular dependency detected (!) [closed]
I'm getting following message in the console:
Circular dependency detected for MyService. Source: Environment Injector
...however, that service is being injected in only one component (which is ...
1
vote
1
answer
55
views
How do I update/add table column headers to Angular Material table?
I am trying to updated the current table headers and add new column headers as well. The issue is when I change the columns to display in the typescript the data for each column disappears. For ...
0
votes
0
answers
19
views
How to use a custom Angular M3 theme?
I am having a difficult time figuring out how to use M3. I've been trying to follow Agular's documentation here.
I used ng generate @angular/material:theme-color to generate several palettes, but the ...
-1
votes
1
answer
40
views
Content not visible during scorling in Angular component
In Angular, I have three components header, lefpanel and router-outlet for all other component data/page need to display. The initial component introduction have some contents, but only partial ...
-1
votes
0
answers
32
views
a little type safety for SignalStore patchState()
I'm still new to signals. And some of my code looks like this:
withMethods((store, loader = inject(StatusLoader)) => ({
async load() {
patchState(store, {loading: true, errorMessage: ''});...
0
votes
0
answers
25
views
Angular in IntelliJ IDEA Ultimate: red underlines on <mat-*> and <app-*> tags, but code is valid
I’m working on an Angular project in IntelliJ IDEA Ultimate.
In my Angular templates (.html files), IntelliJ marks Angular Material and custom component tags with red underlines, for example:
<mat-...
0
votes
0
answers
39
views
Prerender in angular 20 latest
I have portfolio web needed help for the latest Angular 20 version for prerender options to generate static html pages for better seo purpose. Need help with how to enable prerender in website without ...