powerful javascript template engine
npm install jstools-templatejEngine: $template 
=============================



Installation
------------
``.sh`
npm install jstools-template --save`
or.sh`
bower install jstools-template --save`
Usage
-----.js
var data = {
foo: 'bar',
crash: {
test: 'dummy'
},
list: ['foo', 'bar', 'foobar'],
map: {
hi: 'all',
bye: 'nobody'
},
template: 'sample',
label: {
cancel: 'cancel'
}
};
$template.compile('$if{ foo === "bar" }gogogo{:}whoops{/}')(data)
// returns 'gogogo'
$template.compile('$each{ item, key in map }[${foo}:${key}:${item}]{/}')(data);
// returns '[bar:hi:all][bar:bye:nobody]'
``