I've got this working with Karma now. Just type karma start and it should run. Also updated the README file to explain all in more depth. Plus some minor code updates such as $mockScope