apollodec/Apollo/bower_components/oclazyload/examples/requireJSExample/js/lazymodule.js
venbatechnologies@gmail.com d06b1c0cba status file
2017-12-07 11:31:25 +05:30

10 lines
424 B
JavaScript
Executable File

angular.module('lazymodule', ['ngGrid'])
.controller('lazyController', ['$scope', function($scope){
$scope.test = "Hey again";
$scope.myData = [{name: "Moroni", age: 50},
{name: "Tiancum", age: 43},
{name: "Jacob", age: 27},
{name: "Nephi", age: 29},
{name: "Enos", age: 34}];
$scope.gridOptions = { data: 'myData' };
}]);