Skip to content
This repository has been archived by the owner on May 4, 2022. It is now read-only.

How to open selected data details in new page from list? #383

Open
Anbarasan-321 opened this issue Apr 30, 2018 · 1 comment
Open

How to open selected data details in new page from list? #383

Anbarasan-321 opened this issue Apr 30, 2018 · 1 comment

Comments

@Anbarasan-321
Copy link

Hi this is my HTML

    <ion-item ng-repeat="item in course.items" ng-click="openItem({{item.id}})">
        <h1>{{item.title}} </h1>
       <p>{{item.description}}</p>
    </ion-item>

How I open selected data from a list on another page?Please help…

@ansarikhurshid786
Copy link

ansarikhurshid786 commented Dec 1, 2018

Pass whole selected object:

 <ion-item ng-repeat="item in course.items" ng-click="openItem({{item}})">
        <h1>{{item.title}} </h1>
       <p>{{item.description}}</p>
    </ion-item>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants