pass selected index from one hmtl to another

0

Good afternoon Srs.,

I have a collection that is already visible by two distinct html's in my app, however in the first html I go through the collection through an ng-repeat and when I select a certain item from this list, I invoke the second html to display only selected item. So, what I need is: Pass to the second html the number of the item that was selected in the first html. How do I do this? I already tried with $ rootScope, but I had trouble using $ apply () which informs that it is already in use.

    
asked by anonymous 19.06.2017 / 22:54

0 answers