following this tutorial: https://www.airpair.com/angularjs/posts/testing-angular-with-karma