 <code>.angular-cli.json</code>:</p>
<pre class="line-numbers"><code class="language-JSON">&quot;assets&quot;: [
    [...],
    &quot;silent-refresh.html&quot;
],</code></pre><p>To perform a silent refresh, just call the following method:</p>
<pre class="line-numbers"><code class="language-TypeScript">this
    .oauthService
    .silentRefresh()
    .then(info =&gt; console.debug(&#39;refresh ok&#39;, info))
    .catch(err =&gt; console.error(&#39;refresh error&#39;, err));</code></pre><p>When there is an er