Angular Assignment with file upload