how to assign a couple of controller and view to multiple route patterns in AngularJS?
for example I have a couple of view and controller:
{
templateUrl: '/partial/single-item.html',
controller: 'SingleItemController'
}
witch I want them for two routes:
/car/:id
/bike/:id