angular/angular-hint-controllers — pull request #20 by gkalpak (2014-12-11 09:41:25+00:00)
Title: fix(module.controller): support object as 1st arg to `controller()`

Angular's `controller()` is overloaded: It either accepts a controller name and a controller
construction function or it accepts a map of `key/value` pairs, `key` being a controller's
name and `value` being its contructor function.

Previously, the mocked `controller()` function was only able to handle the former case.

Closes angular/angularjs-batarang#123