cleanup/comment old; new test code (controller)
using directives; form loads but runs search before input