angularjs: form, tabs, panes, validation