2
Answers

How to handle dates in url when doing routing in angular

tri_inn

tri_inn

7y
267
1
suppose i have few links in page and each link has date like
http://mysite.com/blogs/01/01/2017
http://mysite.com/blogs/02/01/2017
http://mysite.com/blogs/03/01/2017
http://mysite.com/blogs/04/01/2017 
 
now tell me how could capture date and fetch data date wise when doing angular routing ?
 
please post a sample code having controller, view and routing code.
 
thanks
Answers (2)