这个是什么错误???
来源:4-3 路由模块总结扩展

SolomonQins
2017-05-29
写回答
4回答
-
mainCtrl 声明了么?
012017-05-31 -
慕雪1613582
2017-06-04
你是不是写错了,把mainCtrl写成 mainCtr 了?
00 -
SolomonQins
提问者
2017-06-03
声明了
012017-07-17 -
慕雪1613582
2017-05-31
'use strict'; angular.module('app').controller('mainCtrl', ['$http', '$scope', function($http, $scope){ $http.get('/data/positionList.json').success(function(resp){ $scope.list = resp; }); }]);
00
相似问题