Fix - Minification issue (angular dependency) and global object preservation

The `$httpProvider` dependency was not explicitly declared, which is why the module broke when minified.

Also, in the test server, I update `module` var to be fetched through `angular.module()`, so the main generated file can be isolated from global object.