code: function addElemsToScope(scope) {
      var prop;
      for (prop in elems) {
          if (elems.hasOwnProperty(prop)) {
              scope[prop] = elems[prop];
          }
      }
      scope.elem = elem;
  }
docs: Add all elements to the given scope
  @param scope