got my idea working with rootscope