HTML Code
<input type="file" file-model="vm.myFile" />
<button data-ng-click="vm.uploadFile($files)" ng-file-select ng-file-change="vm.uploadFile($files)">upload me</button>
AngularJS Code
vm.uploadFile = function ($files) {
alert($files);
};
$files is an array of files, you will have to traverse through it, if you have only a single file, you can do $files[0].name