Example of unit testing AngularJS services, directives, and controllers with Jasmine