title: Angular app deploy to firebase : 404 errors
body: <p>I'm trying to deploy my angular app to Firebase.</p>
  
  <p>When I do it, I go to the hosting URL and i'm getting plenty of 404 errors (runtime.js, build.js etc..) and a blank page</p>
  
  <p>I don't understand why, i did :</p>
  
  <pre><code>firebase init
  
  chose storage/firestore/hosting
  
  ng build
  
  firebase deploy
  </code></pre>
  
  <p>when i do firebase serve, it's working... thats weird</p>
  
  <p>(ps: angular 6.0.3, firebase 5.0.4)</p>
  
  <p>my firebase.json (I  had to add /hello which my project name because ng build in dist/hello -> "outputPath": "dist/hello",)</p>
  
  <pre><code>{
    "firestore": {
      "rules": "firestore.rules",
      "indexes": "firestore.indexes.json"
    },
    "functions": {
      "predeploy": [
        "npm --prefix \"$RESOURCE_DIR\" run lint",
        "npm --prefix \"$RESOURCE_DIR\" run build"
      ],
      "source": "functions"
    },
    "hosting": {
      "public": "dist/hello",
      "ignore": [
        "firebase.json",
        "**/.*",
        "**/node_modules/**"
      ]
    },
    "storage": {
      "rules": "storage.rules"
    }
  }
  </code></pre>