<input type="file" name="name" id="img" class="" photo-file="image" onchange="angular.element(this).scope().changeImg(event)">