I need an upload form field that may or may not allow the user to select more than one file.
I know I can do something like:
Another idea is to use ngShow/ngHide for this. In this demo example input file is show/hide based in param and have a directive for get input value(s) and set in a $scope param.
Demo using ngShow + directive