title: Get deployUrl from angular.json in component
body: <p>I know that it's possible to get <code>baseUrl</code> from angular.json using for example: <code>platformLocation.getBaseHrefFromDOM()</code>. <strong>Is there any way to get <code>deployUrl</code> inside component in Angular 7?</strong></p>
  
  <p>I am working on some speed improvements and I am storing my styling files using cdn, so it's stored at <code>deploy-url/styles.js</code>. I have to load this inside app.component.ts (lazy-loading styles) but I need full url for that.</p>