Hi,
I have an application where an easy access to $rootScope would be desired. Since $rootScope is not available in templates, normally I would assign particular variables to $rootScope using a controller.
But since this produces spaghetti code in the controller, I found a much shorter way to enable all $rootScope inside the template (without a need for the controller). Basically what I do is I assign $rootScope to $rootScope in module bootstrap. You can see it in action here:
http://jsfiddle.net/wgtA6/
Can you please review this jsFiddle and tell me what do you think? Is it likely to kill the performance in the long run?