extensions/angoose-ui/directives/ang-field.js
function findInputElement(templateElement) {
    return angular.element(templateElement.find('input')[0] || templateElement.find('select')[0] || templateElement.find('textarea')[0]);
  }
function findInputElement(templateElement) {
    return angular.element(templateElement.find('input')[0] || templateElement.find('select')[0] || templateElement.find('textarea')[0]);
  }
function findInputElement ( templateElement ) { return angular . element ( templateElement . find ( 'input' ) [ 0 ] || templateElement . find ( 'select' ) [ 0 ] || templateElement . find ( 'textarea' ) [ 0 ] ) ; }
Find the "input" element in the template.  It will be one of input, select or textarea. We need to ensure it is wrapped in jqLite\jQuery
Find the input element in the template . It will be one of input select or textarea . We need to ensure it is wrapped in jqLite \ jQuery