angular/bower-angular-route — pull request #1 by willmendesneto (2013-10-03 14:35:22+00:00)
Title: feat (ngRoute): add route params support in controller definition

provide route params support in controller definition, using route params for set the application controller and another behaviours via ngRoute.

default behaviour:

$routeProvider
// Default call
.when('/main', {
templateUrl: 'views/angular-smart-table.html',
controller: 'MainCtrl'
});

behaviour using route params support:

$routeProvider
// Default call
.when('/:section', {
templateUrl: function(req) {
return 'views/' + req.section + '.html';
},
controller: function(req) {
return req.section+ 'Ctrl';
}
});