TemplateURL to template compiler for angularjs