fer / ion-tree-list

Ionic directive for displaying nested list items.

Home Page:http://fer.github.io/ion-tree-list/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

templateUrl not working from within other template

alanmilinovic opened this issue · comments

commented

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

commented

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.