eliminate $scope.log and $scope.info