angularjs: fixed another error in resource tests

This commit is contained in:
Igor Oleinikov
2013-12-23 03:46:41 +04:00
parent 723b48805e
commit f4a56aea3f

View File

@@ -83,5 +83,5 @@ var resourceService: ng.resource.IResourceService;
resourceClass = resourceServiceFactoryFunction<IMyResourceClass>(resourceService);
resourceServiceFactoryFunction = function (resourceService) { return <any>resourceClass; };
resourceServiceFactoryFunction = function (resourceService: ng.resource.IResourceService) { return <any>resourceClass; };
mod = mod.factory('factory name', resourceServiceFactoryFunction);