且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

AngularJS - 在 ng-repeat 中使用 ng-show

更新时间:1970-01-01 07:57:48

在你的 ng-show 你不需要 { } 试试这个:

In your ng-show you don't need { } try this:

<h4 ng-show="actress.name == 'Scarlett'">Was in Avengers! <span class="note">

请参阅 this fiddle 中的 ng-show 工作示例一个 ng-repeat.

See this fiddle for a working sample of an ng-show within an ng-repeat.