add rootscope dependency