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

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.

主站蜘蛛池模板: 江永县| 甘洛县| 海口市| 田东县| 十堰市| 宣汉县| 曲水县| 乌恰县| 隆安县| 新宁县| 界首市| 奉贤区| 台南市| 丘北县| 望城县| 太湖县| 邳州市| 都安| 凌云县| 车险| 红河县| 永春县| 天全县| 寿阳县| 上思县| 河北区| 榆树市| 钟祥市| 虹口区| 芦山县| 黔西县| 津南区| 垣曲县| 西乌珠穆沁旗| 黎平县| 玉田县| 偏关县| 宜君县| 邢台县| 班玛县| 山东|