ng-decimal and karma testing