title: How to read key values from appsettings.json to typescript file using angular4
body: <p>How to read key values from <code>appsettings.json</code> to typescript file using angular4</p>
  
  <pre><code>{
    "Logging": {
      "IncludeScopes": false,
      "Debug": {
        "LogLevel": {
          "Default": "Warning"
        }
      },
      "Console": {
        "LogLevel": {
          "Default": "Warning"
        }
      }
    },
    "Application": {
      "ServiceUrl": "http://localhost:12345",
      "BaseURL": ""
    },
  </code></pre>