Loopback and prerender.io

Posted by & filed under AngularJS, LoopbackJS.

While the prerender.io team does not provide explicit directions for getting their service/NodeJS service to work with Loopback, it isn’t hard to do so. At the top of your top level bootstrap JS file, after the “app” variable is declared simply provide the following: app.use(require(‘prerender-node’).set(‘prerenderToken’, ‘<your token here>’)); Then, from the prerender.io service dashboard, add… Read more »

Making AngularJS content search engine/SEO friendly

Posted by & filed under AngularJS, Web Development.

There seems to be a lot of confusion over this, particularly what level of support exists for Javascript content with search bots. It appears that GoogleBot supports some Javascript. Using this NPM module will assist with providing a pre-rendered version of your content for search engine bots. Be sure to test this using the Google… Read more »