angular-ui/ui-slider — pull request #30 by qwertmax (2013-12-10 15:20:43+00:00)
Title: fix TypeError: Cannot read property 'length' of undefined, because the v...

scope.$watch(attrs.uiSlider, function(newVal){
init();
elm.slider('option', newVal);
}, true);

the variable newVal come as undefined
that cause an error "TypeError: Cannot read property 'length' of undefined" from jQuery