simplify stream setup by using $rootScope

a bug with the badges is magically resolve by this change