Questions tagged single-page-application

Explore the latest questions and answers asked by our top developers.

Anonymous authentication for web page via angular app/azure B2C

We have a angular web app (v 12.0) with lazy loading and azure B2C msal (latest) code for authentication. Register page (register module) require anonymous authentication. Added “canLoad” property on that module, for that route and custom “anonymousGaurd”. “AnonymousGaurd” returns true without checking anything. It’s simple. Yet, the register page only works after login only. […]

How to open a separate angular project as a popup inside another angular project?

We have a suite of 4-5 mature angular applications as separate projects residing in their own separate repos. We want to add same feature to all of these apps. The feature is orthogonal to core functionality of parents apps and includes a fairly complicated UI. We want to create feature application in a separate project […]

Spa with Net5.0 avoid in fall back the loss of QueryString

for my english since i m not native. First i m using Angular front/Net 5.0 back. My problem is, every time that i go to my Spa aplication (From another aplication that handles login) i loose the query string and redirect to /, how can i configure the aplication to not loose the query string? […]

How to show something like a indicator when user is navigating to a Another Page in SPA Web Application?

Image of the Indicator what I am Asking about. 👉 https://i.stack.imgur.com/j3fyn.png In single Page Application(SPA), Web site doesn’t Refresh. So How do we show somethin like a refresh indicator/ Navigation progress indicator like this? Source: AngularJS Questions

How to call back API service while using Payment 3rd party application Iframe in SPA Application

I have added pay360 payment gateway Iframe into angular UI and added call back service URL in the Iframe but I am stuck how can I get back the response sent by Pay360 into the call back service into Angular Application. Can we do it using Signalr as my UI & Web APIs Services are […]

Why doesn’t the swPush.requestSubscription() is never getting a hit?

var VAPID_PUBLIC_KEY = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; this.swPush.requestSubscription({ serverPublicKey: VAPID_PUBLIC_KEY }).then(sub => console.log("subscription-push-notif-obj: ", sub)) .catch(err => console.error("Could not subscribe to notifications", err)); Service worked installed Webpush installed Keys generated and applied Notifications enabled in chrome but still the requestSubscription is never hit. I tried on localhost:4200. I tried on http-server 8081 but it never hit this part. […]

How to pass data from Parent app to Child app through binding parameter to the URL in Single SPA Angular?

I have created two apps. One is the parent app and another one is the child app. Now suppose I have created one product component in the parent app and defined the path inside the routing file. { path: ‘product/:appId’, component: ProductComponent } so here I am mounting my child app inside the product component, […]

How to inform JAWS, VoiceOver or other assitive technogy tools the DOM has been changed?

I have an Angular project where the SPA renders the pages. But some pages load huge amount of datas, what takes a lot of time. In normal cases the screen readers can handle a small daley in the data loading. But in this case the screen reader lost in space and I can’t inform it […]

How to inform JAWS, VoiceOver or other assistive technology tools the DOM has been changed?

I have an Angular project where the SPA renders the pages. But some pages load huge amount of datas, what takes a lot of time. In normal cases the screen readers can handle a small daley in the data loading. But in this case the screen reader lost in space and I can’t inform it […]

Best way to store auth token in angular app

My angular app connects to an AdonisJS rest api thatrequires an auth token to work. This token is generated on succesful login however storing it for future requests is a problem. Ive tried to use window.sessionStorage but unfortunately this remains undefined until the user refreshes the page. Which means my angular app doesent get the […]

1 2 3 13

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq