Architecture the app for angular