Make Settings object accessible through $rootScope