@Injectable() decorator: - now to make a class available for injection you have to mark it with @Injectable() decorator: 86fede13
Breaking Changes
Class registration: - now it's necessary to mark the class you want to make available for injections with Injectable decorator.
// old version
class A {}
container.register({ token: 'IA', useClass: A });
// new version
@Injectable()
class A {}
container.register({ token: 'IA', useClass: A });