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

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.

主站蜘蛛池模板: 大荔县| 延安市| 英德市| 北票市| 西林县| 辛集市| 鄄城县| 普格县| 垫江县| 酒泉市| 西充县| 绍兴县| 平南县| 榆林市| 安龙县| 玉林市| 慈溪市| 衢州市| 石柱| 曲沃县| 新竹县| 安塞县| 邓州市| 曲阜市| 连云港市| 高雄市| 平安县| 鄢陵县| 梨树县| 岗巴县| 蓬莱市| 和政县| 兴国县| 甘孜| 利辛县| 萨嘎县| 五大连池市| 柯坪县| 万安县| 嵩明县| 德保县|