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

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

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

html - jQuery UI Sortable - Remove placeholder after item is dropped -