Removed domain-specific boilerplate, commented-out code, and documented remaining .js AngularJS files.