Replaced filter options with directive