angularjs - UI-Router with different master pages? -
is possible use ui-router, based on url or parameters, can load different parent(master) page? example
<!-- index.html --> <body> <div ui-view></div> <!-- we'll add navigation: --> <a ui-sref="state1">state 1</a> <a ui-sref="state2">state 2</a> </body>
apparently,index.html master page state in ui-routing. there anyway can change master page (index_mobile.html)? based on parameters or states system received? looks it's impossible.
Comments
Post a Comment