i want route user home screen shown in below example.
my problem more-routing not allow multiple routing paths single name.
how create otherwise in angularjs?
when not valid path going name="home"
<more-route name="home" path="/home"></more-route> <more-route name="home" path="/home/:mutation"></more-route> <more-route name="home" path="/home/words/:mutation/:hu"></more-route>
i think want this:
<more-route name="home" path="/home"> <more-route name="mutation" path="/:mutation"></more-route> <more-route name="words" path="/words/:mutation/:hu"></more-route> </more-route> <more-route-selector selectedparams="{{params}}"> <iron-pages> <section route="home"> <template if="{{ route('mutation').active }}"> ... </template> <template if="{{ route('words').active }}"> ... </template> </section> </iron-pages> </more-route-selector>
Comments
Post a Comment