Switch to passing elements to views, not selectors