fraywing/textAngular — pull request #17 by SimeonC (2013-11-09 03:58:59+00:00)
Title: Update Code to new structure.

Hey There.

I recently got ahold of your plugin - it's really great but some things like the jQuery requirement and some of the implementation bugged me enough to update it for my use.

I'm creating this as a pull request and you can decide whether you want to use it or not as it is a bit of a change, but you did most of the hard work in getting it going in the first place. If you don't want to use the changes I'll change the name on my version and quote it as a fork of yours.

Here's a codepen of my updated version I was using for testing: http://codepen.io/SimeonC/pen/ef5d215d7968fd58145c9980c66c7251

Thanks, Simeon.

**Changes**
- Written in coffeescript (just cause I prefer it)
- Re-written to only depend on Angular and Angular-Sanitize. No More
jQuery.
- 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.