fix angularjs controllers for heroku