graph for waiting,angular directive