Merge pull request #324 from tUrG0n/patch-2
Added Jade Angular Snippets
This commit is contained in:
commit
4f4ad36efe
18
snippets/jade.snippets
Normal file
18
snippets/jade.snippets
Normal 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}')
|
Loading…
x
Reference in New Issue
Block a user