put accordion into directive