/**
 * @license Angulartics v0.17.2
 * (c) 2013 Luis Farzati http://luisfarzati.github.io/angulartics
 * License: MIT
 */
(function (angular) {
'use strict';

/**
 * @ngdoc overview
 * @name angulartics.scroll
 * Provides an implementation of jQuery Waypoints (http://imakewebthings.com/jquery-waypoints/)
 * for use as a valid DOM event in analytics-on.
 */
angular.module('angulartics.scroll', ['angulartics'])
.directive('analyticsOn', ['$analytics', function ($analytics) {
  function isProperty(name) {
    return name.substr(0, 8) === 'scrollby';
  }
  function cast(value) {
    if (['', 'true', 'false'].indexOf(value) > -1) {
      return value.replace('', 'true') === 'true';
    }
    return value;
  }

  return {
    restrict: 'A',
    priority: 5,
    scope: false,
    link: function ($scope, $element, $attrs) {
      if ($attrs.analyticsOn !== 'scrollby') return;

      var properties = { continuous: false, triggerOnce: true };
      angular.forEach($attrs.$attr, function(attr, name) {
        if (isProperty(attr)) {
          properties[name.slice(8,9).toLowerCase()+name.slice(9)] = cast($attrs[name]);
        }
      });

      $element.waypoint(function () {
        $element.triggerHandler('scrollby');
      }, properties);
    }
  };
}]);
})(angular);

@@ -406,16 +406,123 @@
 tics'%5D)%0A
+.factory('$waypoint', function () %7B%0A  return function(options) %7B%0A    return new Waypoint(options);%0A  %7D;%0A%7D)%0A
 .directi
@@ -553,16 +553,29 @@
 lytics',
+ '$waypoint',
  functio
@@ -587,16 +587,27 @@
 nalytics
+, $waypoint
 ) %7B%0A  fu
@@ -623,16 +623,17 @@
 Property
+ 
 (name) %7B
@@ -697,16 +697,17 @@
 ion cast
+ 
 (value) 
@@ -720,114 +720,138 @@
 if (
-%5B'', 'true', 'false'%5D.indexOf(value) %3E -1) %7B%0A      return value.replace('', 'true') === 'true';%0A    %7D
+value === '' %7C%7C value === 'true') %7B%0A      return true;%0A    %7D else if (value === 'false') %7B%0A      return false;%0A    %7D else %7B
 %0A    
+  
 retu
@@ -860,16 +860,22 @@
  value;%0A
+    %7D%0A
   %7D%0A%0A  r
@@ -1062,16 +1062,225 @@
 ties = %7B
+%0A        handler: function () %7B%0A          $element.triggerHandler('scrollby');%0A          if (this.options.triggeronce) %7B%0A            this.destroy();%0A          %7D%0A        %7D,%0A        element: $element%5B0%5D,%0A       
  continu
@@ -1294,16 +1294,24 @@
 lse,
+%0A       
  trigger
 Once
@@ -1306,17 +1306,17 @@
  trigger
-O
+o
 nce: tru
@@ -1316,16 +1316,22 @@
 ce: true
+%0A     
  %7D;%0A    
@@ -1370,16 +1370,17 @@
 function
+ 
 (attr, n
@@ -1534,24 +1534,16 @@
 %0A      $
-element.
 waypoint
@@ -1547,76 +1547,8 @@
 int(
-function () %7B%0A        $element.triggerHandler('scrollby');%0A      %7D, 
 prop

Upgrade dependency Waypoints to 3.1.1