Getting root scope working