I have an AngularJS app where I got some data from a webservice and parse some HTML to the template with ng-bind-html ... but when I try to bind data inside the ng-bind-html - nothing happens .. anyone?
I have a little example here,.. not the right case.
HTML
<div ng-controller="MyCtrl">
<div ng-bind-html="post"></div>
</div>
Javascript
angular.module('myApp',[])
.controller('MyCtrl', function($scope, $sce) {
$scope.name = 'World';
$scope.post = $sce.trustAsHtml("<h1>hello {{name}}</h1>");
});