# learn-dependency-injection **Repository Path**: Calvintop/learn-dependency-injection ## Basic Information - **Project Name**: learn-dependency-injection - **Description**: 用来解释Angular依赖注入的demo项目。 - **Primary Language**: TypeScript - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 4 - **Created**: 2019-01-19 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # learn-dependency-injection 用来解释Angular依赖注入的demo项目。 分支上的内容: - singleton分支,解释全局单例、多实例、异步模块注射器用法 - injector-decorator,解释@Injector的用法 - async-module,专门解释异步模块注射器用法 - injectable-decorator,解释@Injectable的用法 - host-decorator,解释@Host的用法 - optional-decorator,解释@Optional的用法 - self-decorator,解释@Self的用法 - skipself-decorator,解释@SkipSelf的用法 ### 备注 如果你需要一个更复杂、更完整一点的例子,请试试OpenWMS这个模板项目:https://gitee.com/mumu-osc/OpenWMS-Frontend 关于Angular的更多资源、小技巧、文章等,请点这里:http://www.ngfans.net/ ### 在线交流QQ群 Angular-1区-丝绸之路:286047042(满) Angular-2区-敦煌:139357161(满) Angular-3区-玉门关:473129930(满) Angular-4区-河西走廊:483016484(满) Angular-5区-楼兰:604253120(将满) Angular-6区-凉州:124641447(将满) 脚本娃娃-桃花岛-83163037(将满) 如果您有Angular相关的问题需要讨论,或者单纯想跟我Say Hello,请加上面几个扣扣群。注意,我每天都会收到大量的求助消息,真的有点忙,所以请您优先在扣扣群里面讨论问题。