Add single file template support in resthtmlformater

you can use resthtmlformater and helper for single template like
index.html like for rest