Search Posts

Category: single-page-application

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 […]