used to retrieve custom html templates for angular directives using http call