O'Reilly logo
  • hao wang thinks this is interesting:

If we want to load an existing module that has already been defined in some other file, we use the the angular.module function with just the first argument, as follows:

angular.module('notesApp');

From

Cover of AngularJS: Up and Running

Note

如果我们打算使用在其它文件里定义的模块,我们可以使用 angular.module 函数,只需要指定第一个参数。