docs(angular-mocks.js): fix missing brackets typo

The code snippet does not work without brackets (it is a code without effect). 
The function call is necessary in order to evaluate whether or not an exception should be thrown.