title: How to use "get" method to retrieve all collection in angularfire2
body: <p>Firebase cloud store provides &quot;get&quot; method to retrieve the entire collection as following -</p>
  <pre class="lang-js prettyprint-override"><code>    db.collection(&quot;users&quot;).get().then((querySnapshot) =&gt; {
          querySnapshot.forEach((doc) =&gt; {
              console.log(doc);
          });
      });
  </code></pre>
  <p>I am using Angularfire2 version 5.0.0rc3 in my ionic 3 project to connect with firebase cloud storage.</p>
  <p>I am trying to access this get method as following -</p>
  <pre class="lang-js prettyprint-override"><code>    constructor(
          private afs: AngularFirestore
      ) {
      
          this.afs.collection(&quot;users&quot;).get().then((querySnapshot) =&gt; {
              querySnapshot.forEach((doc) =&gt; {
                  console.log(doc);
              });
          });
              
      }
  </code></pre>
  <p>But here, &quot;get&quot; method is not working. Can anyone tell me who to use this 'get' method with firebase clould storage and angularfire2.</p>