| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | 1× 1× 1× 3× 3× | /**
* @ngdoc directive
* @name app.scores.directive:feScoreButton
* @restrict E
* @description
* Button to execute an action such as
* start_game, start_tiebreaker, win_game, win_tiebreaker, etc.
*
*/
(function () {
'use strict';
angular
.module('app.scores')
.directive('feScoreButton', directiveFunc);
/** @ngInject */
function directiveFunc() {
var directive = {
restrict: 'E',
templateUrl: 'app/scores/scoreButton.html',
scope: {
scores: '=',
param: '=',
view: '='
}
};
return directive;
}
})();
|