Search Posts

Category: single-page-application

Splitting SPA (Angular 1.x) app in multiple bundles/pages/apps

I have an Angular 1.x SPA app that has grown to 200+ templates (and growing) and it starts to feel too big for a monolithic app. Aside from all performance issues related to this size, I have a problem that upgrading infrastructure/components/libraries is an all-or-nothing operation. The app has several well identifiable modules (4-10 depending on the granularity I choose) ie. public part, account administration, user area… Users rarely “cross” from one area to another. […]

Missing results using Google Custom Search in AngularJS single page application

I’m trying out Google Custom Search in my AngularJS web application. The ultimate goal is to improve the quality of our website’s search results, and Google Custom Search seems like an appealing (and less expensive) alternative to something like Algolia or ElasticSearch. I’ve created a Custom Search Engine (CSE) and specified it to return results from my website’s product pages, i.e. …/product/*, where … is my website’s domain. The issue is, for any search query […]

Does setting html5Mode to true no longer make my website a single page application?

In AngularJS if you want to get rid of the ‘#’ in the url, you set html5Mode to true. But then this sends a request to the server for the page, no longer making it a single page application, is this correct? The way I can tell this is because when I comment out setting the html5Mode to true, the ‘#’ is in the url and my website works as a single page application. But […]