│ .eslintrc // eslint config for client files
│ polyfills.js // imports of polyfills
│ app.template.html // template for the root HTML file of your app
│ │ app.config.js // contains app-wide configuration code
│ │ app.constants.js // gets injected with constants from `server/config/environment/shared.js`
│ │ app.{js,ts} // root JavaScript file of your app
│ │ app.{css,scss,stylus,less} // root CSS file of your app
│ ├───account // pages related to login / signup / user settings
│ │ │ account.routes.js // route information
│ │ │ index.js // account module root
│ ├───admin // site admin page
│ └───main // main component, homepage
├───assets // where static assets are stored
│ auth.module.js // module containing auth components
│ auth.service.js // authentication service
│ interceptor.service.js // intercepts requests and adds tokens if needed. Also redirects 401s to the login page.
│ router.decorator.js // facilitates auth-based routing configuration
│ user.service.js // user resource service
├───oauth-buttons // buttons for oauth login on signup / login pages
│ socket.mock.js // mock service for unit testing
│ socket.service.js // service for Socket IO integration
│ ui-router.mock.js // mock service for unit testing
└───util // general utility service