       scope.$watch 'serviceName', (name) ->
         scope.tool.heading += " in #{ name }" if name
 
-  return Array injectables..., TemplatesList
+  return TemplatesList
 

    if templates and model then (t for t in templates when f t) else []

  class TemplatesList

    toggleSelected: (template) ->
      if template.title is @template?.title

              getName.then setName p


  validPath = (model, path) ->
    try
      model.makePath path
