Added log and alert to $rootScope in app.run, and
logged out the stat for debug purposes.

pain points:
- wasn't initially clear where to add things to $rootScope so they are 
available to all child $scopes, seems app.run is the right spot
- remembering that any ng directives will look first on their $scope and
then on the $rootScope (or any parent $scopes) if the function is not 
defined