fixed commented line in index
Added file upload using $http.post instead of default submit.