title: How to get proper response in angular 11
body: <p>I am new to angular and I am watching a series of tutorials.
  I am using a Firebase for my Database. Picture below is my code for getting a list of data from my database. But unfortunately I got an error as picture below.</p>
  <p>I also tried to change the type of my response into <code>any</code></p>
  <pre><code> .subscribe((response: any) =&gt; {
  </code></pre>
  <p>but upon fetching my data it throws an error says <code>ERROR TypeError: response.json is not a function</code></p>
  <p><a href="https://i.stack.imgur.com/eFBKb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eFBKb.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/slfUY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/slfUY.png" alt="enter image description here" /></a></p>
  <p>BTW I am running <code>&quot;@angular/cli&quot;: &quot;~11.0.1&quot;</code></p>