찾다

 >  Q&A  >  본문

angular.js - angularjs报错看不懂

比如看手册https://code.angularjs.org/1.2.16/docs/guide/directive
我尝试第一个例子
http://jsbin.com/qaforiracopo/2/edit

"Error: [ng:areq] http://errors.angularjs.org/1.3.0-beta.1/ng/areq?p0=Controller&p1=not%20a%20function%2C%20got%20undefined
    at Error (native)
    at http://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.1/angular.min.js:6:456
    at Ab (http://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.1/angular.min.js:18:360)
    at Pa (http://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.1/angular.min.js:18:447)
    at http://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.1/angular.min.js:63:56
    at http://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.1/angular.min.js:49:197
    at r (http://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.1/angular.min.js:7:386)
    at B (http://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.1/angular.min.js:49:62)
    at g (http://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.1/angular.min.js:43:83)
    at g (http://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.1/angular.min.js:43:100)"
世界只因有你世界只因有你2744일 전599

모든 응답(2)나는 대답할 것이다

  • 我想大声告诉你

    我想大声告诉你2017-05-15 16:51:47

    http://jsbin.com/qaforiracopo/3/edit

    회신하다
    0
  • PHP中文网

    PHP中文网2017-05-15 16:51:47

    http://stackoverflow.com/questions/25927596/error-ngareq-http-errors-angularjs-org-1-2-25-ng-areq

    회신하다
    0
  • 취소회신하다