implemented pending requests

as outlined in agular docs