Wrote up details about the JavaScript side of the directive. Changed the syntax styles.