Support for strict dependency injection and CommonJs loading

I added suppport for Strict Dependency injection and also exported the module in order to do things like
```javascript
angular.module('foo', [require('angular-chart').name]);
```
Indentation could be wrong as I edited directly from GitHub.