Make ng resources host-agnostic by using $location.
Added Heroku Procfile.