added bogus function to $scope function