tri_inn

tri_inn

  • NA
  • 1.2k
  • 233.6k

How to handle dates in url when doing routing in angular

Apr 27 2017 8:42 AM
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)