Some tests with AngularJs and Jasmine