此外每個Component 都會有自己的injector,組成一個架構譜。 用一個一個provider 如 @NgModule 、 @Component 或 @Directive 來建立Injector; 在Component 的 constructor ...
確定! 回上一頁