Ion list details page generated on the fly


#1

Hi. I have a list of items. If I press one item, it will bring me to a new page which shows the details of the item. The detail page should have a back button to bring me back to item list.

My puzzle is that if the item list is generated with ng-repeat, that means I also need to generated the item detail page with ng-repeat? How do we do that? any examples? thanks


#2

No, you only have one detail page but you pass a parameter to it that identifies the item you pressed in the list.

This should help you:


#3

Ah. Of course :slight_smile: thanks for the example