updated angular code for minification