I am trying to find the element in html by angularjs.
Here is the html:
You don't have to add a . in getElementsByClassName, i.e.
var multibutton = angular.element(element.getElementsByClassName("multi-files"));
However, when using angular.element, you do have to use jquery style selectors:
angular.element('.multi-files');
should do the trick.
Also, from this documentation "If jQuery is available, angular.element is an alias for the jQuery function. If jQuery is not available, angular.element delegates to Angular's built-in subset of jQuery, called "jQuery lite" or "jqLite.""