title: Formatting string to html angular 2
body: <p>I am trying to do something as follows, and I have no idea where to start looking it up even.</p>
  
  <p>I am trying to create some object such as this</p>
  
  <pre><code>{ 
   text: "hello {param1}", 
   param1: {
                text:"world", 
                class: "bla"
           }
  }
  </code></pre>
  
  <p>The thing is I want to display it according to the text property like this:</p>
  
  <pre><code>&lt;span&gt; hello &lt;span class="bla"&gt; world &lt;/span&gt;&lt;/span&gt;
  </code></pre>
  
  <p>Using a component for such thing won't really solve it - the only idea I have is using jquery, and I would like to avoid it. The text property format could be changed if it helps...</p>