reading up on https://medium.com/@dickeyxxx/best-practices-for-building-angular-js-apps-266c1a4a6917