13
I have a screen that contains a list of information, when clicking on some item I can get his number, for example: Item 5 of array.
The problem is that on another screen I need to display the information of the item that was clicked, and I don’t know how to pass this reference to another scope ($scope
).
Can someone please help me?
There are several ways to do this, which are more or less appropriate according to their architecture. This other screen is encapsulated in a
directive
? Or is aview
different? Or even accessed from a completely different page? Please provide minimal code to help you better.– Vinícius Gobbo A. de Oliveira