Skip to content

Commit

Permalink
trying push instead
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinkle committed Feb 16, 2017
1 parent 00c189b commit 7f09283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ var app = angular.module('WordcountApp', [])
$log.log(data);
$scope.loading = false;
$scope.submitButtonText = "Submit";
angular.extend($scope.wordcounts,data);
$scope.wordcounts.push(data);
$log.log($scope.wordcounts)
$timeout.cancel(timeout);
return false;
Expand Down

0 comments on commit 7f09283

Please sign in to comment.