completes angular directives, decouples nav and footer controls