app.controller('EditorCtrl', function($scope) { $scope.htmlVariable = '

Try me!

textAngular is a super cool WYSIWYG Text Editor directive for AngularJS

Features:

  1. Automatic Seamless Two-Way-Binding
  2. Super Easy Theming Options
  3. Simple Editor Instance Creation
  4. Safely Parses Html for Custom Toolbar Icons
  5. Doesn't Use an iFrame
  6. Works with Firefox, Chrome, and IE8+

Code at GitHub: Here

'; });