added way to dynamically call directives for infographics