<div class="ngGridStyle" ng-grid="myGrid"></div>
in js file:
var myAppRoot = angular.module('myApp', ['ngGrid']);
myAppRoot.controller('MyngGridCtrl', function($scope) {
$scope.myData=[{ ID:1, Name:'John',Country:'USA'},
{ID:2, Name:'Sachin' , Country:'India'},
{ ID:3, Name:'Smith' , Country:'UK'} ];
$scope.myGrid={data:'myData'};
});