Q:

how to send a parameter from an html page to another with angularjs

so I have two tables in my database Student and Computer
I have home.html page that contains a list of students retrieved from the database and when I click on the edit button I want to send the id of the chosen student to another html page so can display in it the list of computers that belongs to the student ( I know i can do it the same page but my training supervisor wants me to do it this way I have no choice ) 
Ps: I'm  using Spring boot and RestAPI for the the back-end and Angularjs for the front-end

A:

In angular 1, you can use services or cookies . 
Cookies :
https://docs.angularjs.org/api/ngCookies/service/$cookies
Services :
https://docs.angularjs.org/guide/services

