Some fixes for Angular and Heroku