       config = {}
 
     config = _.extend({}, this.defaultConfig, {
-      templateUrl: this.buildTemplateFor(route)
+      templateUrl: this._buildTemplateFor(route)
     }, config)
 
     this.provider.when(route, config)
 
-  buildTemplateFor: (route)->
+  _buildTemplateFor: (route)->
     (params) ->
       if params != undefined
         window.d = params

  constructor: ($routeProvider) ->
    this.provider = $routeProvider

  bindRoutes: () ->
    _.each(this.directRoutes, this._setRouteConfig)
    _.each(this.customRoutes, this._setRouteConfig)


      route + '?ajax=true'

RouterBuilder = ($routeProvider) ->
    new Router($routeProvider)._bindRoutes()

app = angular.module('teddy')

