Usually Angular get from HTTP request the JSON from server side (like Django). But, to accelerate rendering, would like to write down on server side the JSON into a Javascript VAR and let proceed Angular on this javascript variable containing the JSON.
My question are: 1) How to pass this javascript var to angular $scope variable ? (without HTTP).
2) Is writing down the JSON into the HTML a bad/good practice ? (given my web app is fairly static).