       .state 'quip.subject.session',
         abstract: true
         url: '/session/{session:[0-9]+}'
-        # TODO - enable
-        # resolve:
-        #   session: ['$stateParams', 'subject', 'Session',
-        #     ($stateParams, subject, Session) ->
-        #       getSession($stateParams, subject, Session)
-        #   ]
+        resolve:
+          session: (subject, $stateParams) ->
+            subject: subject
+            number: parseInt($stateParams.session)
       
       # The session detail page.
       .state 'quip.subject.session.detail',
         url: '?detail'
-        # TODO - enable
-        # resolve:
-        #   detail: ['$stateParams', 'Session', 'session',
-        #     ($stateParams, Session, session) ->
-        #       detail_id = $stateParams.detail or ssession.detail
-        #       Session.detail(id: $stateParams.detail)
-        #   ]
+        resolve:
+          Session: 'Session'
+          detail: (session, Session, Subject) ->
+            getSessionDetail(session, Session, Subject)
         views:
           'main@':
             templateUrl: '/partials/session-detail.html'
             controller:  'SessionDetailCtrl'
         reloadOnSearch: false
      
-      # The series image page.
+      # The series detail page.
       .state 'quip.subject.session.series',
         url: '/:image_container/series/{series:[0-9]+}'
+        resolve:
+          series: (session, $stateParams) ->
+            session: session
+            number: parseInt($stateParams.series)
+            container: $stateParams.image_container
         views:
           'main@':
             templateUrl: '/partials/series-detail.html'

      else
        resource.get(sbj).$promise
    
    $stateProvider
      # The top-level state. This abstract state is the ancestor
      # of all other states. It holds the url prefix. There are
      # two ui-views in the index.html file: main and goHome. This
      # top-level state formats the goHome navigation button. The
      # main ui-view is formatted by child states. Since the main
      # ui-view is in the root context, it is referenced by the

      # The home landing page.
      .state 'quip.home',
        url: ''
        resolve:
          Subject: 'Subject'
          subjects: (Subject, project) ->
            Subject.query(project: project).$promise
          collections: ($state, subjects) ->
            _.uniq _.map(
              subjects,
              (subject) -> subject.collection
            )
        views:
          'main@':
            templateUrl: '/partials/subject-list.html'
