fixing filters to work with ui-route