I am trying to use query params on a route with multiple controllers being rendered and update a controller’s property. Is there a better way to do all of this?
- preview: http://jsbin.com/vesov/7#/dashboard
- code: http://jsbin.com/vesov/7/edit
notes:
-
when query params change, the controller property needs to be updated, this is done manually in the example
-
rendering a template with a model causes a new controller to be created each time