Switching button group to Angular UI implementation