Fixed bug when using the $scope.params outside the table #67.