Dynamic HTML for Ionic HTML element
Can you tell me how I can create dynamic HTML for an HTML element in IONIC please?
I have tried the following, but it is treated as text:
-- in the HTML element I added {{srcHTML}} which is the scope variable I fill with the html I require.
I've tried using srcHTML as the ng-src and as the ng-model but this doesn't work either.
I've also tried ng-bind-html, and although this shows the correct text, it still lacks the color formatting that I have added. If I place the dynamically create HTML in the HTML element it works, all colored correctly, but now when using ng-bind-html, its as if the HTML parts are ignored.....