example how to test angularjs controller with jasmine