Hi,
we have a requirement like this. we use ui-router

#/plan-details/unlimited
#/plan-details/unlimited/country-id/10024
#/plan-details/local/county-id/12322
#/plan-details/national/country-id/10024/state-id/12322
#/plan-details/state/state-id/12322/country-id/10024

here the url pattern is:
#/plan-details/:planCode/country-id/10024/state-id/12322

here some times country-id may present or may not present
and some times state-id may present or may not present.

We looked at using this
#/plan-details/:planCode/country-id/:countryId/state-id/:stateId
But in our case, countryId is not mandatory and some times URL can be simply
#/plan-details/:planCode/state-id/:stateId


How to configure this in ui-router?
Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to