make it work when uglify if not using ngmin