PopSugar/angular-slider — pull request #6 by bravo2 (2014-12-04 18:02:10+00:00)
Title: Defer resolving slider children to post() method. 

...pile before DOM is final and element passed into it can be changed later. For example, when this slider is used inside another directive with replace:true, the elements cached from compile() will not be part of the DOM body element at runtime and this causes element.offsetWidth (and offsetParent) to be incorrect. offsetWidth will be zero if the element is not a child of body element. Resolving cached element references inside post() resolves this issue.