Fix some invalid javascript in directive doc.

Using double quotes to maintain consistency with other HTML in the documentation.