title: File Upload Using AngularJS with php server script
body: <p>I have reviewed the questions and answers on this topic and I dont think they fully answer my issues which are:</p>
  
  <ul>
  <li><p>the upload using the angular frontend (whichever way this is handled) sends the file data to a script on the server such as a php script (which is my preferred method). Once the php script has run I want to return to the page from which the upload was made and give a message there..I dont want the php page to display. Will appreciate some guidance on how to achieve this.  Ideally what code to add to the php script.</p></li>
  <li><p>I want to capture and save to a database info relating to the file such as its name and data entered/selected by the user such as a document category. Is there a way to achieve this as part of the file upload? ie ideally the user will complete entries in a form which includes a file upload button so that the user selects the file to upload but only on the form submit being clicked is the file upload actioned along with the other form data being returned for processing.</p></li>
  </ul>
  
  <p>I have spent 3 days on this.. so any help will be great.</p>