I think the menu on the left should highlight what page you're currently looking at, e.g.:
I suspect the correct way to do this is to have this properly routed in Angularjs and to have Angular keep track of the page state (e.g. your location would be updated to darg.io/timeline/teams/5 or darg.io/teams/5 since by default ). The only catch I can think of with this way of doing things is that Compojure won't know how to route you if you try to go directly to that URL. Maybe we'd make it a resource like any other, e.g.:
If that works, that's probably the right way to do it.
Then, of course, there's the separate aspect of figuring out how to get Angular to update the styling around the button, but I'm assuming for some reason that'll be fairly straightforward.
I think the menu on the left should highlight what page you're currently looking at, e.g.:
I suspect the correct way to do this is to have this properly routed in Angularjs and to have Angular keep track of the page state (e.g. your location would be updated to
darg.io/timeline/teams/5
ordarg.io/teams/5
since by default ). The only catch I can think of with this way of doing things is that Compojure won't know how to route you if you try to go directly to that URL. Maybe we'd make it a resource like any other, e.g.:If that works, that's probably the right way to do it.
Then, of course, there's the separate aspect of figuring out how to get Angular to update the styling around the button, but I'm assuming for some reason that'll be fairly straightforward.