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