feature(search directive): search directive

added sample search directive. Directive does not do much, but is a good
starting point for learning directives