Fixed the karma test
Adding the grid services and directive