linnovate/mean-upload — pull request #5 by thomastaylor312 (2014-07-24 23:09:37+00:00)
Title: Initial creation of allow done

I am creating this pull request basically for discussion. I added the ability to have a new attribute on the directive called "allow" that will use the string specified (as a regex) to match the file types. If it does not match, it does not upload the file. I tested this with one of my own projects, but I am interested to know how others would want this to be implemented and how bad file types should be handled.