fraywing/textAngular — pull request #18 by SimeonC (2013-11-11 22:52:15+00:00)
Title: Update Code to new structure

In continuation from comments by fraywing in pull request #17 I've removed my coffeescript file and the coffeescript oddities in the js to make it just plain JS.

I've also fixed a few bugs I've found in my original pull request.

This also fixes issue #16 by not using a form at all. Should also help people with customisation of the toolbar as in #13 as the toolbar is more plugin friendly.

Updated my codepen demo: http://codepen.io/SimeonC/pen/ef5d215d7968fd58145c9980c66c7251

Thanks, Simeon.

**Additional Changes/Notes**
- I've removed the insertHtml button of the original due to it's poor support here: http://tifftiff.de/contenteditable/compliance_test.html
- Active state of some buttons works correctly now, limited to bold, italic, the justify buttons and Toggle HTML.
**Changes From #17**
- Re-written to only depend on Angular and Angular-Sanitize. No More
jQuery. Implements #7
- Re-worked to be more angular-esq in it's initiation and use. Less
reliance on global variables except for defaults and more use of
bindings on attributes.
- Default styles are Bootstrap 3 classes, options to change these
classes.
- Restructured the Toolbar to make it more plugin friendly, all tool
buttons are encapsulated in their own scope that is a child of the
individual textAngular bound scope.