Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 589 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 589 Bytes

Angular Resolvling

Self resolving objects for angular promises.

CircleCI codecov

function get(enumType){
var enums = $resource('/enums/:locale').get({locale:'en'});
var promise = enums.$promise.then(function transformResult(enums) {
		return enums[enumType];
	});
var value = Resolvling.resolvingWith(promise);
return value;
	
}