angular-resource and angular-file-upload