Browserify - removed references to global angular

Without this change the module breaks in browserify