[Representation] Separate out template loading/linking

...from mct-include, to facilitate reuse for MCTRepresentation.
This commit is contained in:
Victor Woeltjen
2015-10-28 14:51:30 -07:00
parent b4a44dee8f
commit 3d59f6df0b
3 changed files with 125 additions and 41 deletions

View File

@@ -4,7 +4,7 @@
{
"key": "mctInclude",
"implementation": "MCTInclude.js",
"depends": [ "templates[]", "$sce", "$http", "$compile" ]
"depends": [ "templates[]", "templateLinker" ]
},
{
"key": "mctRepresentation",
@@ -48,6 +48,12 @@
"key": "dndService",
"implementation": "services/DndService.js",
"depends": [ "$log" ]
},
{
"key": "templateLinker",
"implementation": "TemplateLinker.js",
"depends": [ "$http", "$compile", "$log" ],
"comment": "For internal use by mct-include and mct-representation."
}
],
"actions": [