Hi All,
I'm trying to pass a variable via URL into a dashboard to pre-select something...
Example URL would be:
http://mango/user-dashboards/testing/Power/device?MagicalVariable=6
I want to use MagicalVariable to populate an <md-select> default.
I see from here: https://docs.angularjs.org/api/ng/service/$location
there is a $location.search() function in AngularJS, but I'm not really sure how to use it. So far I've been unsuccessful with what i've tried.
Cheers!
-Shaun