javascript - Why ui router iterates in resolve function by utf-8 url prarams ( in some browsers) -


i have route this:

  $stateprovider.state('show', {     url:   "/page/:uuid/:title",     views: {       "":       {         templateurl: themeprefix + '/views/showcase.html',         controller:  'showctrl',         resolve:     {           showdate: function (searchrequests, $stateparams) {             // send http request depended on uuid param             return searchrequests.getextend($stateparams.uuid);           }         }       },       "footer": {         templateurl: themeprefix + '/views/footer.html',         controller:  'footerctrl',         resolve:     {           popularareas: function (webservices) {             // send http request             return webservices.getpopularareas();           }         }       }     }   }) 

the title param in url, can persian word, separated -.

(e.g. domain.com/page/53f198db0fdf0/مثال-با-فاصله)

in browsers phantomjs, router's resolve function iterate causes log: watchers fired in last 5 iterations , multiple requests server!

but it's work on chrome, firefox, , etc.

p.s: controller specified in route (in example above showctrl), not execute @ in situation.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -