I remember adding these and now I think that was dumb. We should be injecting these :)

This commit is contained in:
Kevin Giszewski
2017-09-15 13:41:24 -04:00
parent 03d511ca80
commit cef7a36bd4
+1 -14
View File
@@ -29,20 +29,7 @@ angular.module("umbraco").controller("Imulus.ArchetypeController", function ($sc
};
init();
//hold references to helper resources
$scope.resources = {
entityResource: entityResource,
archetypePropertyEditorResource: archetypePropertyEditorResource
}
//hold references to helper services
$scope.services = {
archetypeService: archetypeService,
archetypeLabelService: archetypeLabelService,
archetypeCacheService: archetypeCacheService
}
//helper to get $eval the labelTemplate
$scope.fieldsetTitles = [];
$scope.getFieldsetTitle = function (fieldsetConfigModel, fieldsetIndex) {