You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the new typed params feature, manually changing the url and hitting enter causes a javascript error.
i.e using this state config url
url: '/site/{siteId:int}?{startDate:date}',
When navigating to /site/1?startDate=2014-11-18 it works correctly.
However if you edit the url in the address bar to /site/1?startDate=2014-11-17 and hit enter, a javascript error occurrs.
TypeError: undefined is not a function
at ArrayType.$UrlMatcherFactory.defaultTypes.date.equals (http://localhost:9010/vendor/angular-ui-router/release/angular-ui-router.js:1241:62)
The text was updated successfully, but these errors were encountered:
When using the new typed params feature, manually changing the url and hitting enter causes a javascript error.
i.e using this state config url
When navigating to
/site/1?startDate=2014-11-18
it works correctly.However if you edit the url in the address bar to
/site/1?startDate=2014-11-17
and hit enter, a javascript error occurrs.The text was updated successfully, but these errors were encountered: