lundi 4 juillet 2016

how to pass and receive a parameter using link-to from ember js?

I have on my page a list of clients (only names) and when I click on each one of them, I want to open a new page called 'clientdetails' in which I get the details of the client besides its name (I have an address and an age) ;

What I have so far is something like this :


    <p>   
    </p>
  

How should I pass client.address and client.age to clientdetails and display them accordingly in the clientdetails page?

Thank you.




Aucun commentaire:

Enregistrer un commentaire