rootscope could be removed now.