src/core/services/ripple/ripple.js
/**
 * Service for adding ripples to any element
 * @ngInject
 */
Service for adding ripples to any element
@ngInject
Service for adding ripples to any element @ngInject
function InkRippleService ($injector) {
  return { attach: attach };
  function attach (scope, element, options) {
    if (element.controller('mdNoInk')) return angular.noop;
    return $injector.instantiate(InkRippleCtrl, {
      $scope:        scope,
      $element:      element,
      rippleOptions: options
    });
  }
}
function InkRippleService ( $injector ) { return { attach : attach } ; function attach ( scope , element , options ) { if ( element . controller ( 'mdNoInk' ) ) return angular . noop ; return $injector . instantiate ( InkRippleCtrl , { $scope : scope , $element : element , rippleOptions : options } ) ; } }
Service for adding ripples to any element
 @ngInject
Service for adding ripples to any element @ngInject