Lazy loading not working with dynamically added html import

Posted in General by Bindupriya Sun Nov 20 2016 17:55:13 GMT+0000 (Coordinated Universal Time)·Viewed 1,381 times

Hi, Based on user role , i am dynamically adding the <link > with rel="import" to import the directive , this directive uses ocLazyload attribute to load all the dependencies, the dependencies are not loaded. where as if i use html import directly in head tag its working(not dynamic loading). please suggest
  
Markdown is allowed