age"><pre><code class="lang-js">angular.module(&quot;syncCollections&quot;).factory &quot;Stats&quot;, (BaseCollection) -&gt;
    BaseCollection.extendAndPersist
        name: &quot;stats&quot;
</code></pre>
</div></div>
</div>
