title: Primeng File Uploader to Firebase
body: <p>I was able to setup primeng correctly in my angular 2 app. I am using this control <a href="http://www.primefaces.org/primeng/#/fileupload" rel="nofollow noreferrer">http://www.primefaces.org/primeng/#/fileupload</a> and I don't know what to put in the url in this code :</p>
  
  <pre><code>&lt;p-fileUpload name="myfile[]" url="http://localhost:3000/upload" multiple="multiple" accept="image/*" maxFileSize="1000000"&gt;&lt;/p-fileUpload&gt;
  </code></pre>
  
  <p>I am using firebase storage and I don't know what's the url for that. Can anyone help me or just point me to the right direction. </p>
  
  <p>Note that I can already upload images to my firebase storage using different approach with just an input tag and not the primeng controls. Here's my firebase code and it is working.</p>
  
  <pre><code> var storageRef = firebase.storage().ref().child('images/myImage.png');
  storageRef.put(this.theImageFile).then((res)=&gt;{
  console.log("uploaded!");
  //do something else here.
  }
  </code></pre>
  
  <p>I have no idea what to put in the "url" inside the p-fileUpload because when I'm uploading to firebase, firebase.storage() do all the work for me.
  I just wanted to use the primeng file uploader and I can't seem to get it working.</p>