Replaced $rootScope.packaging with AngularJS constant to make it available in config phase. Use packagin constant to set debug info disabled in other than devel environments.