 
       fn view
 
+    , (err)->
+      console.error 'View not found: ' + classpath
+      fn null
+
 
   ###
   Returns an instantiated [theoricus.mvc.Controller] Controller

  ###
  @template=@::template=( path, fn )->
    # console.log "Factory.template( #{path} )"
    require ['templates/' + path], ( template )-> fn template




        @controllers[ classpath ] = controller
        fn @controllers[ classpath ]

      , (err)->
        console.error 'Controller not found: ' + classpath
        fn null

  ###
  Returns an AMD compiled template

