Home  >  Q&A  >  body text

angular.js - angularjs injection module error reporting is very strange... Solve the doubts

In the app.js dependency injection module and plug-in module, except that ui.router works normally, ngCookies and validation (a form validation plug-in) both report errors. I once suspected that there was something wrong with my own writing, but Baidu did not find it. Found any problem, please help...

phpcn_u1582phpcn_u15822714 days ago722

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-06-07 09:25:49

    It has been solved. At first I thought it was an angularjs version issue, but finally I found out that it was a js reference order issue. Because the packaging tool was not used, the reference order affected module injection and instruction reference errors.

    reply
    0
  • Cancelreply