how to apply date filter in angularjs