Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我们点击它时,任何人都可以帮助我获得 ng-repeat 值。
<ul ng-repeat="section in sections"> <li> <a href='#'>{{section.name}}</a> </li> <ul>
看看我做的这个例子:http: //jsbin.com/UWodob/1/使用 ng-click 你可以得到被点击的项目的值。