javascript - angularjs ng-repeat not stopping -


i'm trying use angularjs set multiple links various pages ng-repeat directive so

<div class="talks">     <a ng-repeat="talk in talks" ng-href="#/talk/{{ talk.id }}">         <h5>{{ talk.speaker }}</h5>         <h4>{{ talk.title }}</h4>          <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="360px" ng-attr-height="40px" viewbox="0 0 360 40" xml:space="preserve">             <path ng-attr-d="{{ getpathsmall(talk, 'engagement', talk.highest, true, false) }}" stroke="#0bcea7" fill="none" stroke-width="2px" />             <path ng-attr-d="{{ getpathsmall(talk, 'mood', talk.highest, true) }}" stroke="#1486c1" fill="none" stroke-width="2px" />         </svg>     </a> </div> 

but loops through each talk in talks infinitely. can ng-repeat stopped after single loop?


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -