Angular pipe filter by date


#1

I have an answer in json and I would like to post articles by date, need your help please !!!


#2

Sort in the controller, not pipe

Use array.sort(sortFunc), where sortFunc does the sort comparison. Many examples on the web


#3

Thanks for the reply @Tommertom, can you post a e.g please ?


#4

Plse check google

Otherwise: post your code so we can comment