Use AngularJS  for file upload to include token header when set