adding priority to directive

Based on angular-ui/ui-tinymce#65