refactor angular admin view