add loading indicator
refactoring angular app