updates for view/header-bar directives

Each view directive can have attributes that populate the app's nav-bar directive.