add option for slim and example rootScope