copy directive content, make IE happy closes #4