fix angular injection on minification