<div id="ngDiv" ng-app ng-controller="myCtrl">
<div id="someDiv">
<p>{{infoTxt}}<p>
<p>window innersize:({{width}}, {{height}})</p>
</div><!--someDiv-->
</div><!--ngDiv-->
<!--That's all folks-->
<h1>Other interesting information:</h1>
<p><a href="http://docs.angularjs.org/misc/started">http://docs.angularjs.org/misc/started</a>
Especially the overview part.</p>
<p><a href="http://jsfiddle.net/johnoscott/dgW73/2/">http://jsfiddle.net/johnoscott/dgW73/2/</a>
More sophisticated and general example that helped me and lead me to write thie fiddle.</p>
<h1>Why this?</h1>
<p>Needed to dynamically fix the size of some containers, and modify some css depending on the screen size and orientation</p>