Use the ng-show directive to display the name line only if it has a value.
Use ng-switch and <div>s to simulate 'tabs' showing different parts of the app depending on which button is clicked.