var queryResult = element[0].querySelector('.multi-files'); var wrappedQueryResult = angular.element(queryResult);