Try this instead:

     <textarea class="col-md-12" ng-model="inputHtml"></textarea>
     <div ng-bind-html="inputHtml"></div>

Also make sure you include *angular-sanitize* module in your app:

var app = angular.module('App', [
    'ngSanitize'    
]);


As the result you can edit HTML in textarea and it will automatically 
reflect changes as you type.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to