Angular-Jasmine injecting a service into the test
<p>New to Jasmine, I am trying to instantiate my controller which has a list of dependencies (mainly the services I have written) and all the different ways I';ve tried haven't been right. </p>

<p>Here is my controller:</p>

<pre><code>(function () {
'use strict';

angular.module('app.match')
        .controller('MatchController', MatchController);


MatchController.$inject = ['APP_CONFIG', '$authUser', '$http', '$rootScope', '$state', '$stateParams', 'SearchService', 'ConfirmMatchService', 'MusicOpsService', 'ContentOpsService', 'MatchstickService', 'MatchService', 'Restangular'];
function MatchController(APP_CONFIG, $authUser, $http, $rootScope, $state, $stateParams, searchService, confirmMatchService, musicOpsService, contentOpsService, matchstickService, matchService, Restangular) {

    var vm = this;
    vm.greeting = '';
   .
   .
)();
</code></pre>

<p>Here is my test
     (function(){
    'use strict';</p>

<pre><code>describe('app module', function() {
    var MatchController;

    //beforeEach(module('app.match'));
    beforeEach(function($provide) {
        module = angular.module('app.match');
        $provide.service('SearchService', function(){

        });
    });
    beforeEach(module('app.config'));
    beforeEach(module('auth'));


    beforeEach(inject(function($controller, APP_CONFIG, $authUser, $http, $rootScope, $state, $stateParams) {


        MatchController = $controller('MatchController', {'APP_CONFIG':APP_CONFIG, '$authUser':$authUser, '$http':$http, '$rootScope':$rootScope, '$state':$state, '$stateParams':$stateParams, '$provide':$provide});

    }));

    describe("Match controller", function() {

        it("should be created successfully", function() {
            expect(MatchController).toBeDefined();
        });
    });
  });

})();
</code></pre>

<p>Running test the above way gives me the following error:</p>

<pre><code>TypeError: 'undefined' is not a function (evaluating  '$provide.service('SearchService', function(){
            })')
</code></pre>