diff --git a/app/scripts/collectioneditor/manager/container-manager.js b/app/scripts/collectioneditor/manager/container-manager.js index b8970ecc..eb0e8fb3 100644 --- a/app/scripts/collectioneditor/manager/container-manager.js +++ b/app/scripts/collectioneditor/manager/container-manager.js @@ -8,16 +8,14 @@ org.ekstep.contenteditor.containerManager = new(Class.extend({ this.registeredContainer.push({ id: manifest.id, container: container }); this.load(container, manifest); }, - load: function(container, manifest, allowTemplateCache) { + load: function(container, manifest) { var instance = this; if (container.templateURL) { container.templateURL = org.ekstep.contenteditor.api.resolvePluginResource(manifest.id, manifest.ver, container.templateURL); - instance.loadNgModules(container.templateURL, undefined, allowTemplateCache).then(function(){ - instance.scope.addToContainer(container.type); - }); + instance.loadNgModules(container.templateURL, undefined); if (container.controllerURL) { container.controllerURL = org.ekstep.contenteditor.api.resolvePluginResource(manifest.id, manifest.ver, container.controllerURL); - instance.loadNgModules(undefined, container.controllerURL, allowTemplateCache) + instance.loadNgModules(undefined, container.controllerURL) .then(function() { instance.scope.addToContainer(container); }, function() {