Multiple directives asking for templates on

后端 未结 13 1774
长情又很酷
长情又很酷 2021-01-07 18:18

I have the following HTML:

13条回答
  •  太阳男子
    2021-01-07 18:32

    You can’t have one (element) directive directly referencing another (element) directive. Wrap it with a

    , e.g:

    template: '
    ' + '
    '

    See https://github.com/angular/angular.js/issues/5428 for more information.

提交回复
热议问题