refactor angular app structure