Angular Updates; Tilting at Tests

* Update Angular modules to call `angular.module` rather than depending
    on a global variable.
* Work on writing Angular tests. Teaspoon test runner is being a bear
    here.
* Update Rubygems.