added examples using templateProvider