docs(guide): fix some invalid javascript in directive documentation

Use double quotes to maintain consistency with other HTML