Close beforeEach parentheses in example

I believe this follows http://docs.angularjs.org/misc/contribute please let me know if something's wrong.

Best,
Eugene