Angular IModule::provider can accept a provider object as second argument

Hi, this patch allows to compile such a syntax, which is of course valid:
``` typescript
app.provider('myService', {
    $get: (...) => {
        return myService;
    }
});
```