src/components/autocomplete/js/autocompleteController.js
function getAngularElements (elements) {
    var obj = {};
    for (var key in elements) {
      if (elements.hasOwnProperty(key)) obj[ key ] = angular.element(elements[ key ]);
    }
    return obj;
  }
function getAngularElements (elements) {
    var obj = {};
    for (var key in elements) {
      if (elements.hasOwnProperty(key)) obj[ key ] = angular.element(elements[ key ]);
    }
    return obj;
  }
function getAngularElements ( elements ) { var obj = { } ; for ( var key in elements ) { if ( elements . hasOwnProperty ( key ) ) obj [ key ] = angular . element ( elements [ key ] ) ; } return obj ; }
Gathers angular-wrapped versions of each element
@param elements
@returns {{}}
Gathers angular - wrapped versions of each element