search

Home  >  Q&A  >  body text

angular.js - Module loading in angularjs

Will the browser parse and compile when it encounters a custom angularjs module in js when loading the entire html document?
But the specified module will be loaded after the ng-app directive. Does it need to be loaded and parsed before? Please let me know

習慣沉默習慣沉默2819 days ago559

reply all(1)I'll reply

  • PHPz

    PHPz2017-05-15 17:09:19

    ng-app is the entry directive for AngularJS 1 applications. All content can only be run within the page tag where the directive is located.

    reply
    0
  • Cancelreply