mgcrea/angular-strap — pull request #769 by just-boris (2014-05-16 15:04:23+00:00)
Title: fix(dimensions): use boxRect for width an height

The result `element.getBoundingClientRect()` already has width and height properties in all modern browsers (IE9+).
Moreover, some elements (in SVG, for example) don't have offsetWidth and offsetHeight and tooltips get incorrect position relative to it. After this fix `$tooltip` service can work on SVG elements, it can be so useful when creating charts.