I am using angular and kendo ui. When using ui-router and initiating a page change, i get an error "Error: r.element is null". I have traced this back to the splitter calling its toggle function and the kendo code always assuming that the element is not null. However, in this situation, the element is null. This is in the toggle function of kendo.splitter.js. Adding a null check for "that" before calling find on element seems necessary.