Hi Im new in angular js and I want to try get the data of my input type = "file"
in my html.. But when i console it its just said undefined
html
<input type="file" ng-model="data.img" ng-click="upload()"/>
js
$scope.upload = function() {
console.log($scope.data.img)
}