190
rated 0 times
[
191]
[
1]
/ answers: 1 / hits: 20902
/ 10 Years ago, mon, december 1, 2014, 12:00:00
I'm trying to implement my md-tabs
so each md-tab
is a separate state using angular-material. My current markup looks like this:
md-tabs.is-flex.auto-flex(selected=selectedIndex,layout=vertical)
md-tab(on-select=selectTab(0),label=Player,ui-sref=state1)
div.tab(ui-view)
md-tab(on-select=selectTab(1),label=Map,ui-sref=state2)
div.tab(ui-view)
I don't think this is valid markup for ui-router, though. Is it possible to do this with the current version of angular-material and ui-router?
More From » angularjs