Some resources:
- https://github.com/witoldsz/angular-http-auth
- http://www.kdmooreconsulting.com/blogs/authentication-with-ionic-and-angular-js-in-a-cordovaphonegap-mobile-web-application/
- https://github.com/keithdmoore/ionic-http-auth
- http://blog.ionic.io/angularjs-authentication/
- https://auth0.com/blog/2014/01/07/angularjs-authentication-with-cookies-vs-token/
- http://jasonwatmore.com/post/2014/05/26/AngularJS-Basic-HTTP-Authentication-Example.aspx