How to display the app version in Angular?
<p>How do I display the app version in angular application? the version should be taken from <code>package.json</code> file</p>

<pre><code>{
  "name": "angular-app",
  "version": "0.0.1",
  ...
}
</code></pre>

<p>In angular 1.x, I have this html:</p>

<pre><code>&lt;p&gt;&lt;%=version %&gt;&lt;/p&gt;
</code></pre>

<p>In angular, this is not rendered as version number, but instead just printed as it is (<code>&lt;%=version %&gt;</code> instead of <code>0.0.1</code>).</p>