This is meant to reduce running initialization code unnecessarily
when a user goes directly to one of the tabs
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
<!-- note that non-numeric index values must be enclosed in single-quotes,
otherwise selecting the active table won't work cleanly -->
<uib-tab index="'manage-subscriptions'" heading="[% l('Manage Subscriptions') %]">
- <eg-subscription-manager bib-id="bib_id"></eg-subscription-manager>
+ <eg-subscription-manager ng-if="active_tab == 'manage-subscriptions'" bib-id="bib_id">
+ </eg-subscription-manager>
</uib-tab>
<uib-tab index="'prediction'" heading="[% l('Manage Predictions') %]">
<p>Frequency TODO</p>