Hi Freddy,
It is not recommended (some people even consider it bad practice) to remove directives with jQuery (or pure DOM operations) as this will surely lead to memory leaks.
It is best to remove elements using the angular way, for example ng-if. In case you really need to remove a directive with jQuery please consider calling manually $destroy on the scope.
In the specific case if your example though, ng-if seems to break splitter,
whereas explicit $destroy leads to JavaScript errors (please take a look at the sample). We will probably need to take deeper look in code. I will update the thread when we have resolution.
Regards,
Genady Sergeev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework -
download Kendo UI now!