angular-ui/bootstrap — pull request #3099 by stevecavanagh (2014-12-15 03:36:45+00:00)
Title: fix(demo): Register MainCtrl controller in module not as global.

Fix for issue: #3098. Register the MainCtrl function in the demo module, not as a global function.