Merge pull request #324 from tUrG0n/patch-2

Added Jade Angular Snippets
This commit is contained in:
Honza Pokorny 2014-03-24 01:51:12 -03:00
commit 4f4ad36efe

18
snippets/jade.snippets Normal file
View File

@ -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}')