title: How to trigger window resize event in Angular
body: <p>I am using a Angular plugin on data table. The container of the data table is resizable, while through the doc I learned that the data table it self will resize when there is a window resize event. In jQuery I know there is a <code>$(window).trigger()</code> but I don't know how to do that in angular.</p>
  
  <p>My question is: in parent angular directive, how do I trigger that window resize event?</p>