<commit_before>/// <reference path='angularjs/angular.d.ts' />

declare module angular {

	interface IAngularStatic {
		mock: IMockStatic;
	}

	interface IMockStatic {
		inject(params: any[]): any;
		module(moduleFunc: {($provider: ng.auto.IProvideService): void}): void;
		module(moduleName: string): void;
		module(moduleName: string, injectFunc: {(provider: any): void}): void;
	}

	interface IHttpBackendService {
		expect(method: string
			, url: string | RegExp | { (): string }
			, data?: string | RegExp | { (): string } | Object
			, header?: Object | { (): Object }): IHttpExpectation;
		expectGET(url: string | RegExp | { (): string }
			, data?: string | RegExp | { (): string } | Object
			, header?: Object | { (): Object }): IHttpExpectation;
		expectPUT(url: string | RegExp | { (): string }
			, data?: string | RegExp | { (): string } | Object
			, header?: Object | { (): Object }): IHttpExpectation;
		expectPOST(url: string | RegExp | { (): string }
			, data?: string | RegExp | { (): string } | Object
			, header?: Object | { (): Object }): IHttpExpectation;
		expectDELETE(url: string | RegExp | { (): string }
			, data?: string | RegExp | { (): string } | Object
			, header?: Object | { (): Object }): IHttpExpectation;

		flush(count?: number);

		verifyNoOutstandingExpectation();
		verifyNoOutstandingRequest();

		resetExpectations();
	}

	interface IHttpExpectation {
		respond(data: any, headers?: Object, statusText?: string): IHttpExpectation;
		respond(status: number, data: any, headers?: Object, statusText?: string): IHttpExpectation;
	}

	interface ITimeoutService {
		flush(): void;
		flush(delay: number): void;
		verifyNoPendingTasks(): void;
	}
}<commit_msg>Added a mock for IControllerService.<commit_after>/// <reference path='angularjs/angular.d.ts' />

declare module angular {

	interface IAngularStatic {
		mock: IMockStatic;
	}

	interface IMockStatic {
		inject(params: any[]): any;
		module(moduleFunc: {($provider: ng.auto.IProvideService): void}): void;
		module(moduleName: string): void;
		module(moduleName: string, injectFunc: {(provider: any): void}): void;
	}

	interface IHttpBackendService {
		expect(method: string
			, url: string | RegExp | { (): string }
			, data?: string | RegExp | { (): string } | Object
			, header?: Object | { (): Object }): IHttpExpectation;
		expectGET(url: string | RegExp | { (): string }
			, data?: string | RegExp | { (): string } | Object
			, header?: Object | { (): Object }): IHttpExpectation;
		expectPUT(url: string | RegExp | { (): string }
			, data?: string | RegExp | { (): string } | Object
			, header?: Object | { (): Object }): IHttpExpectation;
		expectPOST(url: string | RegExp | { (): string }
			, data?: string | RegExp | { (): string } | Object
			, header?: Object | { (): Object }): IHttpExpectation;
		expectDELETE(url: string | RegExp | { (): string }
			, data?: string | RegExp | { (): string } | Object
			, header?: Object | { (): Object }): IHttpExpectation;

		flush(count?: number);

		verifyNoOutstandingExpectation();
		verifyNoOutstandingRequest();

		resetExpectations();
	}

	interface IHttpExpectation {
		respond(data: any, headers?: Object, statusText?: string): IHttpExpectation;
		respond(status: number, data: any, headers?: Object, statusText?: string): IHttpExpectation;
	}

	interface ITimeoutService {
		flush(): void;
		flush(delay: number): void;
		verifyNoPendingTasks(): void;
	}

	interface IControllerService {
		(controllerConstructor: Function, locals?: any, bindings?: any): any;
        (controllerName: string, locals?: any, bindings?: any): any;
	}
}
{'fraction_non_alphanumeric': 0.1626940133037694, 'fraction_numerical': 0.0, 'mean_word_length': 4.207792207792208, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6169437', 'n_tokens_mistral': 1219, 'n_tokens_neox': 1115, 'n_words': 282}