fixing angular errors on heroku