(operation)
| 50 | }; |
| 51 | // Create the controller name for a route to our resource that does the specified operation. |
| 52 | var controllerName = function(operation) { |
| 53 | return resourceName + operation +'Ctrl'; |
| 54 | }; |
| 55 | |
| 56 | // This is the object that our `routesFor()` function returns. It decorates `$routeProvider`, |
| 57 | // delegating the `when()` and `otherwise()` functions but also exposing some new functions for |