Fixed DI bugs in angularjs module

Fixed DI bugs. Currently the 'simple' syntax for DI is being used, but this is not 'minifier proof'. This is why angular.min.js is currently broken. See [the documentation](http://docs.angularjs.org/guide/di) for more info.
This pull request fixes that.