Refreshing Ajax call in angularjs with resetful framework