A 2 step setup for SEO friendly Angular Apps!
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bower_components
js
node_modules
partials
LICENSE
README.md
bower.json
index.html
package.json
server.js

README.md

Make an SEO friendly Angular App with Prerender and Node.js

See the Tutorial here to learn how it all works: http://evanjmg.com/code/2015/10/18/SEO-Friendly-Angular-with-Prerender.html
This is PART 1 - How to make Angular work with Prerender.io in Node.js
for PART 2 see Prerender Server Repo link here - here

Setup

In terminal, run git clone git@github.com:evanjmg/Angular-SEO-Prerender.git

cd angular-seo-prerender

npm install

bower install

node server.js

Continue onto Part 2 then comeback

go to this link, download, setup and run this separate server on a different port

Check if it works

Go to: http://localhost:3006/?_escaped_fragment_= Right click view page source, and if this text: 'If this shows with escape_fragment, then it works!' is visible in the div, you successfully setup SEO friendly pages for Angular, all locally :). Congrats! Be sure to follow me for more great tutorials.