Example angular tests for a service and directive