Skip to content

Commit

Permalink
Merge pull request honza#346 from RyanPineo/master
Browse files Browse the repository at this point in the history
Javascript: Add angular snippets.
  • Loading branch information
SirVer committed Apr 21, 2014
2 parents c17df81 + b1af469 commit ebdc61f
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions UltiSnips/javascript_angular.snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
priority -50

snippet iti "it (js, inject)" b
it('${1:description}', inject(function($2) {
$0
}));
endsnippet

snippet befi "before each (js, inject)" b
beforeEach(inject(function($1) {
$0
}));
endsnippet

snippet aconf "angular config" i
config(function($1) {
$0
});
endsnippet

snippet acont "angular controller" i
controller('${1:name}', function($2) {
$0
});
endsnippet

0 comments on commit ebdc61f

Please sign in to comment.