added karma and karma-jasmine for testing
karma.config.js file
test directory added
angular-mocks added for dependency injection into tests