Category "angular"

Is there any way to load third party libraries like pdfmake using CDN in Angular 8 application?

I am using pdfmake library in my angular 8 project for client side pdf generation. I have installed the pdfmake library modules and it is working fine. but this

How to export my json data into pdf,excel using angular 2

I have created my Data table from the angular 2 website. Now I want to export my json data to PDF,excel using angular 2 framework. Kindly give me suggestion h

Invoke wrong Asset URL in single spa micro front-end

I am using single-spa library to achieve micro front-end functionality. I am using assets to display in the pages. But the URL that is generated to fetch assets

TransferHttpCacheModule doesn't prevent duplicate HTTP Calls in Angular 8

I've set up an Angular 8 Project with Angular Universal. To prevent duplicate HTTP Calls, Angular offers TransferHttpCacheModule. I followed the official Docum

Is there a better way to build an Angular monorepo app with libraries?

I have several apps in my Angular monorepo project. Also there are about 5 libraries I've written to use across the apps. What I want to know is how to better

Module not found: Error: Can't resolve 'fs' in

Oke, I upgraded Angular from 6 to 8. But I stil get errors. I found on internet a solution that for a lot of users helped. But in this case it doesn't helped me

How to define default route with parameters in Angular Component Router?

I want to have a default route in my sub-component (set with useAsDefault: true) and to have parameters automatically passed to it. I cannot find anywhere in do

ERROR in ./src/polyfills.ts Module not found: Error: Can't resolve 'zone.js/dist/zone'

I have an angular 8, that uses karma/jasmine to run some unit tests. I can run tests by executing the following command ng test but I'm getting the following er

Areas do not work when migrating an Angular app to NET 6

I have an .NET Core 5 with Angular app and I have my controllers grouped in areas. I made the app using NET Core 1 and have successfully migrated it up to 5 wit

How do I iterate an array of JSON data to always get the first JSON object

I'm trying to get the first JSON object from the video array, I only want to get full highlights and not the goals. { "response": [ { title: "United

How to add event Listeners in Angular?

I am writing an app using Angular 6, trying yo listen to plotly_click events (Visualization library). How can i set up a listener? The Angular is recommendin

I can't access page using http-server

I tried to access the page using http-server -p 8081 but the browser said "No webpage was found for the web address: http://localhost:8081/app/home" I run ng b

Angular Material mat-select - Showing count number along with the first selected value in multiple selection

In mat-select multiple selections, all the selected values are displayed in the select field. I want only the first selected value along with +1 or +2 etc if mo

Selecting options from Mat-select using cypress

I have Mat-select dropdown as follows <mat-form-field> <mat-label>Gender</mat-label> <mat-select id="gender" required formContro

How to mock browser requests based on har files?

I've exported a har file of my application. Now I would like to reuse it when the server is crashed (it's quite often issue). I was looking for an application t

advanced-http: "data" option is configured to support only following data types: object

in ionic 5 (capacitor 3 , angular 12) project , i used ionic-native/http for send http request. when use http.post for send FormData object to server var fd = n

Angular MomentDateTimeAdapter not building after angular 8 update

after updating my angular project I faced some probles due to the breaking changes. Now I have got an Problem with my MomentDateTimeAdapter. I'm using this one.

Dynamically add meta tags to index.html for shared link previews

I have an angular page that displays rich content (PDF, images, videos, etc). I need to create a shareable link to that HTML page with the right metatags so the

Dynamically add meta tags to index.html for shared link previews

I have an angular page that displays rich content (PDF, images, videos, etc). I need to create a shareable link to that HTML page with the right metatags so the

Dynamically add meta tags to index.html for shared link previews

I have an angular page that displays rich content (PDF, images, videos, etc). I need to create a shareable link to that HTML page with the right metatags so the