Add karma to test angularjs