Check out example codes for "firebase angular assets not showing". It will help you in understanding the concepts better.

Code Example 1

// angular 6.1.3 and after 
// change tsconfig.json from
"outDir": "./dist/out-tsc",
  // to
"outDir": "./dist",

Learn ReactJs, React Native from akashmittal.com