我正在尝试实现angularjs网格。我遵循了所有的方法,但没有正确加载
角度应用的代码
var app = angular.module('myApp',['ngTouch', 'ui.grid']);
控制器代码
app.controller('myCtrl', ['$scope', function ($scope) {
$scope.myData = [
{
"firstName": "Cox",
"lastName": "Carney",
"company": "Enormo",
"employed": true
},
{
"firstName": "Lorraine",
"lastName": "Wise",
"company": "Comveyer",
"employed": false
},
{
"firstName": "Nancy",
"lastName": "Waters",
"company": "Fuelton",
"employed": false
}
];
}]);