text: 'use strict';
  
  angular.module('trulescent')
    .service('tlscTools',function() {
      this.animationDurationMilli = 200;
  
      this.cumulativeOffset = function(element) {
          var top = 0, left = 0;
          do {
              top += element.offsetTop  || 0;
              left += element.offsetLeft || 0;
              element = element.offsetParent;
          } while(element);
  
          return {
              top: top,
              left: left
          };
        };
    });
  