src/common/js/angular-winjs/js/angular-winjs.js
function getElementRoot(element) {
        var curr = element;
        while (curr.parentNode) {
            curr = curr.parentNode;
        }
        return curr;
    }
function getElementRoot(element) {
        var curr = element;
        while (curr.parentNode) {
            curr = curr.parentNode;
        }
        return curr;
    }
function getElementRoot ( element ) { var curr = element ; while ( curr . parentNode ) { curr = curr . parentNode ; } return curr ; }
Pure utility functions
Pure utility functions