use variable in both JQuery in an angularJS
<p>I need to use an array that is being defined in a JQuery script inside of an angularJS controller script. I don't understand how $rootScope fits into this whole thing. </p>

<p>Is this possible, Any advice?</p>

<pre><code>$(document).ready(function(){ 
    $.get("KIP.xml",{},function(xml){

        // I need this accessible in controller.js
        FinalP = [ ];

    }
})
</code></pre>

<p>..</p>

<pre><code>var app = angular.module("KIdash", []);

app.controller("controller", function($scope, $rootScope, $http) {

    console.log('initilaized!');

    $scope.PlayerList = **FinalP**
});
</code></pre>