       d3.select(this).attr(k, v)
     # Reattach the text element to the anchor.
     t.appendTo(a)
-]
 
 
 svcs.factory 'Modeling', ['Helpers', (Helpers) ->

      url: '/api/session-detail/:id/'
]

svcs.factory 'Helpers', [->
  # If the given attribute value is a string, then this function
  # resets it to the parsed date.
  fixDate: (obj, attr) ->

      url: '/api/subject-detail/:id/'
]


svcs.factory 'Session', ['$resource', ($resource) ->
  $resource '/api/session-detail/:id/', null,
    detail:
