BC-298 fixes for minification in angular