Answer the question
In order to leave comments, you need to log in
How to force script to be executed on page load using angularjs ui-router?
There are charts on the page that do not work if the page is not fully loaded:
document.onreadystatechange = function () {
if (document.readyState == "complete") {
//Находим элемент по id и что-то с ним делаем.
}};
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question