| Total Complexity | 1 |
| Complexity/F | 1 |
| Lines of Code | 13 |
| Function Count | 1 |
| Duplicated Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | /** |
||
| 7 | 'use strict'; |
||
| 8 | |||
| 9 | angular.module('game').component('pretty', { |
||
| 10 | template: '<span ng-bind-html="ct.util.trustHTML(ct.util.prettifyNumber(ct.value, ct.state.player))"></span>', |
||
| 11 | controller: ['util', 'state', function(util, state) { |
||
| 12 | this.util = util; |
||
| 13 | this.state = state; |
||
| 14 | }], |
||
| 15 | controllerAs: 'ct', |
||
| 16 | bindings: { |
||
| 17 | value: '<' |
||
| 18 | } |
||
| 19 | }); |
||
| 20 |