0

if i set ID product on server and, list of products I show on client by http.get in AngularJS.

and in list html i have: a href="/product/edit/{{product.id}}">edit

Then i click on link and i have adress

http://localhost:3000/product/edit/1498057091291 in node i have router.get('/edit/:id', function (req, res, next)

How can i download from AngularJS variable with url if i set it in node, and i do not use NgRoute in AngularJS?

Sorry for my english

Graham
  • 7,431
  • 18
  • 59
  • 84
Turqus
  • 117
  • 9

0 Answers0