title: Angular 5 Dynamic variable name
body: <p>I want to call a variable dynamically.  </p>
  
  <pre><code>export class AppComponent  {
    my_a_variable = 'test a';
    my_b_variable = 'test b';
    type = 'a'; // this variable value will come from another place dynamically.
  }
  </code></pre>
  
  <p>In my html i need something like</p>
  
  <pre><code>&lt;div&gt;{{my_{{type}}_variable}}&lt;/div&gt;
  </code></pre>
  
  <p>I know it can be solved with an assoc array but I can't use this here.
  Can you please help?</p>
  
  <p>Thanks.</p>