1、错误描述
angular2.js:2 Uncaught ReferenceError: System is not defined at angular2.js:2 (anonymous) @ angular2.js:2 http.js:2 Uncaught ReferenceError: System is not defined at http.js:2 (anonymous) @ http.js:2 model.html:14 Uncaught ReferenceError: angular is not defined at model.html:14 (anonymous) @ model.html:14
2、错误原因
<script type="text/javascript" src="../js/angular2.js" ></script> <script type="text/javascript" src="../js/http.js" ></script>引入AngularJS2和http.js
3、解决办法