I\'m writing an web app with AngularJS and angular-material. The problem is that there\'s no built-in component for file input in angular-material. (I feel that file uploading d
Another hacked solution, though might be a little cleaner by implementing a Proxy button:
HTML:
AwesomeButtonName
JS:
app.controller('NiceCtrl', function ( $scope) { $scope.upload = function () { angular.element(document.querySelector('#fileInput')).click(); }; };