Ionic v2 bind html
<p>I am trying to bind some text and html data in the view file, but the page doesn't open in some devices.
i tried to surround html with <code>&lt;div&gt;</code> tag, but still not working.
I wanted to know is there any alternative of <code>$sce.trustashtml</code> in angular2 or in ionic 2.</p>

<p>i have added sample code below</p>

<pre><code>&lt;div [innerHTML]="html-variable-from-controller"&gt;&lt;/div&gt;
</code></pre>

<p>i tried <code>[inner-html]</code> also still no luck</p>

<p>any help will be appreciated</p>