Questions tagged [angular15]
For questions regarding Angular specific to version 15. Please include all relevant tags on your question; e.g., [Angular], [TypeScript], etc.
angular15
396
questions
0
votes
0
answers
17
views
Upgrading Angular 14 to 15 giving node-sass build error
I am currently working on a project in Angular 14 and using Node.js version 14.15.0. I am looking to upgrade the project to Angular 15 and Node.js version 18.10.0. However, I encounter errors when ...
1
vote
1
answer
41
views
How to Override a Component from a 3rd Party Library in Angular?
I'm using an internal library that provides a generic solution for authentication, including a login page with a login form. For a specific application, I need to customize the login form by adding ...
1
vote
1
answer
23
views
How to bootstrap angular library from the angular application
I am having a angular library in npm repo. Installed that library in another angular application.
Do we have any direct options to bootstrap the remote angular library from the main project? Need to ...
1
vote
0
answers
19
views
How to bootstrap the routing, NgRx etc of MFE module from the shell project forcibly using module federation?
I want to bootstrap or initiate the MFE's routing, NgRx and other library instances from the Shell project programatically.
Now I am doing lazy load of modules from shell as below
loadChildren: () =&...
0
votes
2
answers
42
views
How can we use the langular ibraries @angular/common, @angular/core etc from the dependency? [closed]
I have a angular library installed in my angular application. So the library has all the angular dependencies such as @angular/common, @angular/core etc.
I want to use a single version of angular ...
0
votes
0
answers
27
views
How to reduce the size of assets images PNG and SVG files in angular build
I want to reduce/compress the size of assets folder content especially images (PNG, JPEG, SVG). In the current build its taking the actual size so build size is increased upto 200MB.
How can reduce ...
0
votes
0
answers
22
views
How to avoid displaying duplicate events in full calendar
I am having an issue with duplicate events displaying in my calendar. I have all my events organized by me shown and the events can be held in different rooms, if I also click the room this function ...
0
votes
0
answers
23
views
Shared dependencies are still generated in both remote and shell app in @angular-architects/module-federation
Both shell app and remote app has angular_core package in the build bundle, even after adding them in shared: {} webpack config. Is it expected?
Shell app webpack config
'@angular/core': {
...
0
votes
0
answers
48
views
Sign In With Google Button is not Being Displayed on Angular
I have implemented sign in with google button by following the guide on https://developers.google.com/identity/gsi/web/guides/display-button
I first load the library in head tag of index.html like
<...
2
votes
0
answers
38
views
Bulk Processing of data in ASP.NET Core Web API with Angular
I'm using Angular 15 and an ASP.NET Core Web API. I have a use case where I need to process 1000s of records which involve querying from LDAP and updating into a database.
This whole process might ...
0
votes
0
answers
21
views
How to write test case for angular 15
I am trying to write test case for below the code in angular. I am new for test case.So, How to write it in the app.component.spec.ts file? I tried but not working.
app.component.ts:
public arr:[]= [
{...
1
vote
0
answers
36
views
ng test - SyntaxError: Unexpected token '.'
Recently, I upgraded my angular project from v14 to v15. But after the upgrade, on running the test suite using the command ng test, I'm getting the following error:
I addressed the warning shown in ...
0
votes
0
answers
57
views
Finding the root cause of memory leak in angular
I am currently facing an issue where i can see the components are not being destroyed and garbage collected. I have implemented proper subscriptions for form changes subscriptions , i have even tried ...
1
vote
0
answers
105
views
mat-slide-toggle is not disabling in Angular 15 but works fine in Angular 14 with same code
I updated to Angular 15 and now [disabled] attribute of mat-slide-toggle is not working well.
The top toggle should be disabled at startup, but now it only becomes disabled after being manually turned ...
1
vote
0
answers
45
views
angular default locale url without basehref - i18n
After implementing localization in our Angular (v15) project and configuring i18n, the base URL now includes a language code. As a result, when our users attempt to open the application URL suggested ...