ui-router icon indicating copy to clipboard operation
ui-router copied to clipboard

How to handle angularJS UI router with dot (.) character

Open prnl-jagadeesh opened this issue 10 years ago • 1 comments

I have URL for state function as follows

www.test.com/search.go?param=test

The issue is handle dot(.) character in URL pattern. The URL with dot character not handling properly by angularjs UI router. Let me how handle this dot character.

.state('testsearch', { url: '/test/search.go?:param=', views: { main: { templateUrl: 'testTemplate.html', controller: 'testcontroller' } } })

prnl-jagadeesh avatar Mar 18 '16 05:03 prnl-jagadeesh

http://plnkr.co/edit/YehKSecaHvbJKrG4Ypce?p=preview Seems to work fine for me.

In the future, please use StackOverflow for support requests; this is an issue tracker to report bugs. http://bit.ly/UIR-SOF

christopherthielen avatar Mar 21 '16 16:03 christopherthielen