cdikibo / calculator-

A Calculator built in Angular

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

You have two $scope.cleaner functions

maecapozzi opened this issue · comments

calculator-/js/script.js

Lines 132 to 135 in a636cc8

$scope.cleaner = function() {
$scope.resultNumber = 0;
$scope.display = [];
}

Not sure how this can work! Make sure you need both, and if you do, rename one of them.