remove ng-init and hardcoded logic from html, implement PanelController to abstract tab logic out of UI