angularjs - how parse dynamic data through routing -


i trying achieve list page , detail page using feeds gathered various sourcess using google feed api,

<div class="post" ng-repeat="feed in feeds | orderby:'title'"> <div class="col col-50" ng-repeat="item in feed.entries">   <div href class="accent">      <img style="max-width:100%;height:auto;" src="    {{item.mediagroups[0].contents[0].url}}" alt="">      <h4><a href="#/home/detail/{{feed}}/{{item}}"> //here href on h4 tag route params      {{item.title}}</a></h4>      <h4><small>{{item.author}}</small></h4>     <p>{{item.contentsnippet}}</p>   </div></div></div> 

he idea feed[index].entries[index].title ,so parsing feed in feeds index , item in feed.entries second index , give me nothing ,any work around


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -