title: angularjs save rendered values in html in a variable
body: <p>I hope someone can help me with this, It's a strange question maybe as I didn't find an answer online.</p>
  
  <p>I call the database and retrieve a list (in json) of items.
  Then in angularjs,I render this list by extracting relevant pieces of data(name,age,etc) and show it properly in a table as a list of rows.</p>
  
  <p>I have then an edit button that takes me to another page where I want to put a dropdown list.
  What I want to know if is possible to add to that dropdown list the rendered list I previously created in my previous page.
  is it possible to save the previously rendered list in a variable and then use that variable in the dropdown?</p>
  
  <p>thank you</p>