From 1ffdf752b647afd921bc8b094e221de9be0d8ea9 Mon Sep 17 00:00:00 2001 From: Piotr Yordanov Date: Mon, 24 Mar 2014 03:29:41 +0000 Subject: [PATCH] Added Jade templates --- snippets/jade.snippets | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 snippets/jade.snippets diff --git a/snippets/jade.snippets b/snippets/jade.snippets new file mode 100644 index 000000000..55f0af7bf --- /dev/null +++ b/snippets/jade.snippets @@ -0,0 +1,18 @@ +# Angular HTML +snippet rep + div(ng-repeat='${1} in ${2}') + +snippet repf + div(ng-repeat='${1} in ${2}' | ${3}) + +snippet repi + div(ng-repeat='${1} in ${2}' track by $index) + +snippet hide + div(ng-hide='${1}') + +snippet show + div(ng-show='${1}') + +snippet if + div(ng-if='${1}')