Refactored angular app structure