Got the component filtering working for the directive.