Edit your app/assets/javascripts/sprangular/extraRoutes.coffee and add the route you want to override. For example:
app/assets/javascripts/sprangular/extraRoutes.coffee
angular.module('MyApp').config ($routeProvider) -> $routeProvider .when '/products', controller: 'MyProductsCtrl', templateUrl: 'products/index.html'
# in app/assets/sprangular/controllers/myProducts.coffee angular.module('MyApp').controller 'MyProductsCtrl', ($scope) -> # add whatever you need here
There was an error while loading. Please reload this page.