import ngModule from '../../module'; import template from './float-button.html'; directive.$inject = ['vnTemplate']; export function directive(vnTemplate) { return { restrict: 'E', template: (_, $attrs) => vnTemplate.get(template, $attrs, { className: 'mdl-button mdl-js-button mdl-button--fab mdl-js-ripple-effect mdl-button--colored' }) }; } ngModule.directive('vnFloatButton', directive);