made search directive, added to recs page
refactored search to directive in all views