tried attaching fund to rootScope