官术网_书友最值得收藏!

Modularize with @NgModule

We can then think about breaking these services up into organizational units or modules.

Angular provides us with the @NgModule decorator, which will help us define what these modules look like and what they provide to our app. In an effort to keep our app's bootstrap/launch time as fast as possible, we can organize our modules in such a way to allow some service/features to be lazily loaded after our app has launched. Bootstrapping one module with a small subset of required code that our app needs to launch will help keep this launch phase to a minimum.

主站蜘蛛池模板: 马边| 白玉县| 抚松县| 泽州县| 阿拉尔市| 永兴县| 山西省| 德化县| 大渡口区| 布尔津县| 呼和浩特市| 崇左市| 海南省| 晴隆县| 本溪| 邢台市| 大厂| 隆林| 深水埗区| 深水埗区| 来宾市| 茶陵县| 桦甸市| 崇礼县| 澄江县| 平潭县| 营口市| 曲阳县| 白银市| 正阳县| 屏山县| 克山县| 历史| 盐源县| 油尖旺区| 平果县| 阿尔山市| 喀喇| 和林格尔县| 内乡县| 山阳县|