Added a directive for creating a pagedown editor