added jasmine test with dependency injection, mocks for angular controller