Why @Injectable ()?
@Injectable () marks a class as available to an injector for instantiation. An injector reports an error when trying to instantiate a class that is not marked as @Injectable ().
Angular 2 @Inject() is a special technique for letting Angular know that a parameter must be injected.
|When use @Inject()?||When Use @Injectable ()?||@Injectable() vs. @Inject() ?|
|How to use Dependency Injection (DI) correctly in Angular 2?||Dependency Injection (DI) in Angular 2?|