Fixed #61. Ensure $scope.report is defined.
Merge pull request #62 from yeukhon/issue61

Fixed #61. Ensure $scope.report is defined.