moved Typeahead editor directives into a seperate file