Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2015
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. resolve: {
  2. objectiveDetailsExam: ['objectiveDetailService', 'subjectService',
  3. function (objectiveDetailService: IObjectiveDetailService, subjectService: ISubjectService) {
  4. objectiveDetailService.getObjectiveDetailsExam("/" + subjectService.subject.id)
  5. .then((results): ng.IPromise<any> => {
  6. return objectiveDetailService.getObjectiveDetailsObjective("/" + objectiveDetailService.examId);
  7. });
  8. }]
  9. }
  10.  
  11. resolve: {
  12. objectiveDetailsExam: ['objectiveDetailService', 'subjectService',
  13. function (objectiveDetailService: IObjectiveDetailService, subjectService: ISubjectService) {
  14. return objectiveDetailService.getObjectiveDetailsExam("/" + subjectService.subject.id)
  15. .then((results): ng.IPromise<any> => {
  16. return objectiveDetailService.getObjectiveDetailsObjective("/" + objectiveDetailService.examId);
  17. });
  18. }]
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement