i have my home page who get in firebase the city and i would like to after get and click and this city i get the shop in this city
who can be get the id information and passing this and the second page ?
were you able to find an aswer for this? I’m curious as well. I tried making a provider class with Angularfire 2 Observables but the value doesn’t update on other views.
have you tried putting the click event on the card or div instead of the content and passing in villeList as a parameter… then inside of the click event pass what you need to pass to the next page ?
Do you guys know of the Input and Output that comes with Angular 2? With that you can get data out of the component and into another one. Where Input what goes inside the component and Output is what goes outside of the component. In your case you have to put the Output in that component you mentioned and Input has to be on the page2.