Check on AngularJS v 1.2. Resolves #13.
Define globals for tree.js (jshint)