test(docs): add missing createMockWindow()

Add missing angular.mock.createMockWindow (removed in
0dd062231a4d495133fd907eeae95c566380c6e1), that the docs tests were
using.