remove filters from controllers and add to directives