src/core/services/ripple/ripple.js
/**
 * Directive used to add ripples to any element
 * @ngInject
 */
Directive used to add ripples to any element
@ngInject
Directive used to add ripples to any element @ngInject
function InkRippleDirective ($mdButtonInkRipple, $mdCheckboxInkRipple) {
  return {
    controller: angular.noop,
    link:       function (scope, element, attr) {
      attr.hasOwnProperty('mdInkRippleCheckbox')
          ? $mdCheckboxInkRipple.attach(scope, element)
          : $mdButtonInkRipple.attach(scope, element);
    }
  };
}
function InkRippleDirective ( $mdButtonInkRipple , $mdCheckboxInkRipple ) { return { controller : angular . noop , link : function ( scope , element , attr ) { attr . hasOwnProperty ( 'mdInkRippleCheckbox' ) ? $mdCheckboxInkRipple . attach ( scope , element ) : $mdButtonInkRipple . attach ( scope , element ) ; } } ; }
Directive used to add ripples to any element
 @ngInject
Directive used to add ripples to any element @ngInject