Is there a way in angular if the following route is given
.when('/customer/:customerId', {
templateUrl: 'views/summary.tpl.html',
controller: 'SummaryController'
})
to check if a string matches this route?
For example, with the string
'/customer/3'
is there a function in angular that i can call to determine if a route matches a route or not?
user2635176
source
share