adding request view as well as fixing up the directive