Edit in JSFiddle

var app = angular.module('myApp',[]);

app.controller ('controllerName',function($scope, $window) {

  var appWindow = angular.element($window);

  appWindow.bind('resize', function () {
  	console.log('Resized your browser')
  });
  
});
<div ng-app="myApp" ng-controller="controllerName"></div>