wip aded ng directives to layout