angular.js - ng-repeat in angularJS
过去多啦不再A梦
过去多啦不再A梦 2017-05-15 16:58:39
0
6
569

Comrades, do you know how to use ng-repeat to put the gender in json into the specified ul? urgent! urgent! urgent! Waiting online. . . .

过去多啦不再A梦
过去多啦不再A梦

reply all(6)
阿神

You can use ng-if to make judgments. Just judge two ul templates in one

phpcn_u1582

Why not first divide the json into two groups of men and women, and then use repeat respectively?

大家讲道理

Can I use a filter?

滿天的星座

Divide into 2 groups. This is the easiest and fastest. ng-if does not approve

PHPzhong

Can you describe the problem clearly

洪涛

It seems that it can only be filtered through channels. Different ULs have different genders

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template