Angularjs 我们如何在mentio模板url中传递变量的值

Angularjs 我们如何在mentio模板url中传递变量的值,angularjs,Angularjs,我想在mentio菜单的mentio模板url中附加basePath值。但是对于下面的代码,我得到的mentio模板url值为“{{basePath}}template/product indications.tpl”,basePath不会替换为它的值 <mentio-menu mentio-for="'theTextArea'" mentio-trigger-cha

我想在mentio菜单的mentio模板url中附加basePath值。但是对于下面的代码,我得到的mentio模板url值为“{{basePath}}template/product indications.tpl”,basePath不会替换为它的值

              <mentio-menu
                        mentio-for="'theTextArea'"
                        mentio-trigger-char="'#'"
                        mentio-items="products"
                        mentio-template-url="{{basePath}}template/product-mentions.tpl"
                        mentio-search="searchProducts(term)"
                        mentio-select="getProductTextRaw(item)"
                        class="mentio-element-dropdown">                                
              </mentio-menu>