I just published this fiddle thinking it could be helpful for people like me. It shows how plain javascript can be passed to an angular scope. In this case, the scope gets window innersize information.
http://jsfiddle.net/spacm/HeMZP/
For personal use, I'll pass to angular scope these informations:
- width & heigth
 - orientation / orientation change
 - iframe detection
 - OS detection
 
using the navigator.platform variable 
function isInIFrame(){
    return window.location !== window.parent.location;
}
function updateMediaInfoWH() {
    if((typeof(mediaInfo.inIFrame)!='undefined') && (!mediaInfo.inIFrame)) {
        mediaInfo.width = innerWidth;
        mediaInfo.height = innerHeight;
        updateMediaInfoOrientation();
    }
    tellAngular();
}
function tellAngular() {
    console.log("tellAngular");
    var domElt = document.getElementById('mainContainer');
    scope = angular.element(domElt).scope();
    console.log(scope);
    scope.$apply(function(){
        scope.mediaInfo = mediaInfo;
        scope.info = mediaInfo.width;
    });
}
Any comment is welcome.