Fix for RTE when manually bootstrapping angular app.

If you manually bootstrap an angular app and don't use the ng-app directive, then widgets.js would throw a RTE trying to get the injector before the module has initialized.

Code should be executed safely as a module run function that is executed on module initialization.