Fixed uglify bug for angularjs

Fixed uglify bug for angularjs