From 40d61d17f01530f59d582495a05fd3c8026e23db Mon Sep 17 00:00:00 2001 From: Jacob Carter Date: Fri, 24 Apr 2015 17:28:41 -0700 Subject: [PATCH] added custom template documentation --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index bf99c9d..4616143 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,14 @@ Currently the config object accepts an options property with an object of allowe Setting the keys as booleans will turn the selection on and off. +##Custom Templates: + +As noted by [TimotheeJeannin](https://github.com/TimotheeJeannin) you can use custom template by adding the following attribute to the directive DDO: + + templateUrl: function(element, attributes) { + return attributes.template || 'cronselection.html'; + }, + ##Initializing UI with data from server The directive takes an optional attribute of `init`