ng-bind-html not working with my $scope.variable
问题 I am trying to add something like dynamic HTML using ng-bind-html but its not working with $scope variable Here is my Angular code 1)My controller $scope.name = "Parshuram" $scope.thisCanBeusedInsideNgBindHtml = $sce.trustAsHtml("<div>{{name}}</div>"); Also that my string is dynamic "<div><table class=" + "\"table table - bordered table - responsive table - hover add - lineheight table_scroll\"" + "><thead><tr><td>Name</td><td>Age</td></tr></thead><tbody><tr ng-repeat=" + "\"tr in dyna\"" + "