# ng-japan OnAir vol.30 connpass: https://connpass.com/event/197836 shownote: https://hackmd.io/@lacolaco/B1DlxwMiP youtube: https://www.youtube.com/watch?v=kf9sPXeuAok ## アジェンダ - 再発見シリーズ: `@Injectable()` ## `@Injectable`を再発見! [Angular 日本語ドキュメンテーション \- Injectable](https://angular.jp/api/core/Injectable) ### Tree-Shakable Providerのおさらい https://blog.lacolaco.net/2018/03/angular-v6-tree-shakabke-di/ ### `providedIn` ``` - 'root' : The application-level injector in most apps. - 'platform' : A special singleton platform injector shared by all applications on the page. - 'any' : Provides a unique instance in each lazy loaded module while all eagerly loaded modules share one instance. ``` #### "root" #### "any" #### "platform" #### `InjectorType`/ Module / Component ### `ɵfac` / `ɵprov` ###### tags: `ng_jp_onair`