What is angular-loader.js for?

后端 未结 4 1702
终归单人心
终归单人心 2021-01-31 07:19

I saw a similar question on the Google groups and also here on Stackoverflow. Both times the question was not answered. The code in this file doesn\'t make it very clear about w

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-31 07:53

    It allows for you asynchronously load files when bootstrapping your angular application. A good example is the angular-seed project that has an index-async.html file that does this.

    index-async.html

    This is useful for using other libraries that load in modules asynchronously.

提交回复
热议问题