Skip to content

Displaying custom error information if the markdown document is missing #44

@kalyanvgopal-zz

Description

@kalyanvgopal-zz

First of angular-marked is a very handy directive. Thanks for that.
I am using the following in the code.
<div marked src="vm.document"> </div>
I want to display a custom error partial if the vm.document is missing from the document file store. Do you have a suggestion or do you think marked directive needs a change? I would prefer something like the below.
<div marked src="vm.document" errSrc="vm.errorTemplate"> </div>
If you agree i can contribute as well.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions