-
Notifications
You must be signed in to change notification settings - Fork 508
Closed
Labels
Description
Hi!
I'm using ui-router and oclazyload 1.0.2 in my project.
.state('home.orders', {
url: '^/orders?{type}',
reloadOnSearch: false,
template: '<div data-orders></div>',
resolve: {
loadModule: ["$ocLazyLoad", "$injector", ($ocLazyLoad, $injector) => {
return $ocLazyLoad.load('myModule');myModule contains some templates that are used in data-orders directive. After update ocLazyLoad to version 1.0.3 the templates are always loading from server and the next construction
angular.module('myModule').run(['$templateCache', function($templateCache) {
debugger;
....never runs
Reactions are currently unavailable