edit angular script for minification