adjust function with Angular js

Hi,

I am using adjust function on window resize. But it not working.
My code is -
app.controller(“CustomerController”, [’$scope’, function($scope) {
var grid = $scope.customer_grid_config= {
container:‘customer_grid_view’,
view:“datatable”,
columns:[
{ id:“title”, header:“Film title”,fillspace:true},
{ id:“year”, header:“Released”,fillspace:true},
{ id:“votes”, header:“Votes”,fillspace:true}
],
gravity:1,
autoheight:true,
data: [
{ id:1, title:“The Shawshank Redemption”, year:1994, votes:678790, rating:9.2, rank:1},
{ id:2, title:“The Godfather”, year:1972, votes:511495, rating:9.2, rank:2}
]
};
console.log(grid);
webix.event(window, ‘resize’,function() {
grid.adjust();
});
}]);

Thanks,

Hi Team,

Please replay me I am stuck.

Thanks