Fix sub requests #1339

pulled this into an object using ng-class