Simple file upload using angularJS