* Fixed formatting.
* Updated to work with angularjs 1.2.6
* Added watch and jsHint tasks to the grunt file.
* Corrected code to pass jsHint.