How would I render a dynamic definition list using AngularJS?

前端 未结 4 1696
南方客
南方客 2021-01-31 07:03

How would I render a dynamic definition list using AngularJS?

Example:

Data:

[
    {
        key: \'a\',
        value: \'x\'
    }, {
        ke         


        
4条回答
  •  长发绾君心
    2021-01-31 07:48

    I've created a directive called repeatInside to solve problems like this one.

    {{word.name}}
    {{word.definition}}

提交回复
热议问题