restructure angular app