code: function InkRippleCtrl ($scope, $element, rippleOptions, $window, $timeout, $mdUtil, $mdColorUtil) {
    this.$window    = $window;
    this.$timeout   = $timeout;
    this.$mdUtil    = $mdUtil;
    this.$mdColorUtil    = $mdColorUtil;
    this.$scope     = $scope;
    this.$element   = $element;
    this.options    = rippleOptions;
    this.mousedown  = false;
    this.ripples    = [];
    this.timeout    = null; // Stores a reference to the most-recent ripple timeout
    this.lastRipple = null;
  
    $mdUtil.valueOnUse(this, 'container', this.createContainer);
  
    this.$element.addClass('md-ink-ripple');
  
    // attach method for unit tests
    ($element.controller('mdInkRipple') || {}).createRipple = angular.bind(this, this.createRipple);
    ($element.controller('mdInkRipple') || {}).setColor = angular.bind(this, this.color);
  
    this.bindEvents();
  }
docs: Controller used by the ripple service in order to apply ripples
  @ngInject