fixing heroku minification angular bug