Meteor_angularjs
Meteor_angularjs copied to clipboard
$routeProvider.when fails when the URL pattern has two segments
Try make an app with the following routeProvider definition:
$routeProvider.when('/:first/:secondmilestone', {
templateUrl: 'partials/template.html',
controller: 'mycontroller'
});
Regardless of what is contained within mycontroller or template.html, the browser
I also tried to use fixed routes but they didn't work at all either.
$routeProvider.when('/this/doesnt/work', {
...
});
This is a pretty critical piece of functionality!
Hi @fushunpoon, I don't think this is an issue as this's how router work. You may want to post at angular forum instead of here.