Angular table row directive not rendering inside table

后端 未结 3 1836
有刺的猬
有刺的猬 2020-12-10 10:34

I am trying to add a row \"isrcrow\" directive to a table as follows:

The isrcow directive template (without tr, no single root)

...

The isrcrow directive with

restrict: 'A'
replace: false

The end results is

... ... ...

提交回复
热议问题
3条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-10 11:08

    The previous answers are correct, but I found them a bit hard to understand/apply, so summarized how I solved it with their help:

    The table