DI 2.0.0

There is something wrong with this code: if `id >= _instances.length` then we access `_instances[id]` which is an error.

I think `id >= _instances.length` should throw a `NoProviderError`