angular.js icon indicating copy to clipboard operation
angular.js copied to clipboard

Variable in URL don't work when accessed directly, possible regression?

Open sandersietses opened this issue 13 years ago • 1 comments

Hi,

When I use a variable in the URL (eg. /results/:id) links to this url work.

See: http://labs.siets.es

When you click on 'Go to other view', it will link to /results/4. When you reload the page (F5) it will redirect to /results. The link won't work anymore.

I don't have these problems with AngularJS 1.07 or 1.1.4. I had a simular problem with routing in this issue: #3023. And I fixed this by removing ng-app. What do I do wrong or is this a bug?

Any ideas why this happens?

sandersietses avatar Jun 25 '13 16:06 sandersietses

I can't reproduce this any more. If this is still a problem please open a new issue and create plunker/jsfiddle/jsbin reduction. thanks!

IgorMinar avatar Jul 18 '14 23:07 IgorMinar