add delineating comment to directives
move Head service functionality to directives