make action dynamic by using ng-attr

This is useful when posting to restful urls like /api/object/:objectId and objectId is not present during ngUploads initialisation.