Fix - Minification issue, global object

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.
Merge pull request #33 from pandaiolo/fix/minification

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