title: Angular routing localization with dynamic data
body: <p>I have an Angular application and want to add localization with routing. I'll get label data like:</p>
  <pre><code>text: {
         de_DE: 'Hallo',
         en_EN: 'Hello'
        }
  </code></pre>
  <p>and I would like to display label:</p>
  <pre><code>&lt;span&gt;{{text.[LOCALIZATION_INFO]}}&lt;/span&gt;
  </code></pre>
  <p>So I don't have different .json files for different languages.</p>
  <p>I think about adding a function to my abstract class to get language info from url. Then I can use it to choose language from my object.</p>
  <p>But I don't know it's a correct solution or is there a better approach to implement?</p>