(operation)
| 46 | |
| 47 | // Create the templateUrl for a route to our resource that does the specified operation. |
| 48 | var templateUrl = function(operation) { |
| 49 | return baseUrl + '/' + resourceName.toLowerCase() +'-'+operation.toLowerCase()+'.tpl.html'; |
| 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'; |