     @returns {Object} a promise that yields the skillList (a slug->skill object map)
     ###
     list: (scope, name) ->
-      listPromise = angularFire(baseRef, scope, name
-      ).then (disassociate)->
+      update = ()->
+        $log.debug "Updating skill list"
         skillList = scope[name]
 
         # These are linear in the # of skills, which is fine as long as we

    @eturns {Object} the new slug.
    ###
    rename: (slug, newTitle) ->
      newSlug = Slug.slugify(newTitle)
      skill = skillList[slug]
      skillList[newSlug] = skill
      console.log "Rename"
      console.log slug
      console.log skillList
      skill.title = newTitle
      delete skillList[slug]



        skillList

      listPromise = angularFire(baseRef, scope, name).then (disassociate)->
        scope.$watch name, (newValue,oldValue) ->
          if newValue?
            update()


    ###
