function create_flush$q()  {
        var flush$q;
        inject(function($rootScope){
            flush$q = function(){$rootScope.$apply();};
        });
        return flush$q;
    }
******************************************************
make function to flush the Angular promise queue using angular-mock
call ONLY in a beforeEach AFTER app module setup!
*******************************************************