Refactored ng-file-select directive into its own file