I have some old routes I would like to support in angular like that:
/2345.aspx
/4321.aspx
/123.aspx
Is there a way to map that with $routeprovider
?
Something like:
.when('/{path:.aspx}', {
templateUrl : 'src/ng-app/views/posts/post.html',
controller : 'postController'
})