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

The `$httpProvider` dependency was not explicitly declared.

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.