ion-tree-list
ion-tree-list copied to clipboard
templateUrl not working from within other template
Hi,
I am using your directive with ion-autocomplete. Basically I changed ion-autocomplete template by applying your ion-tree-list in it. The problem is that I also want to override your default template by applying this in code:
<ion-tree-list items="items" template-url="'common/tree_list_template.html'"></ion-tree-list>
Application just freeze after searching binding your tree control. Also one question, why don't you populate your template url like this:
this.templateUrl = valueOrDefault($attrs.templateUrl, undefined);
Regards, Alan
Oh, sorry. I just realized that your template is only related to "item_default_renderer", but I want to change entire template file ion-tree-list.tmpl.html. Is it possible without changing your source code.