detail page divided into directives