diff --git a/UltiSnips/javascript_angular.snippets b/UltiSnips/javascript_angular.snippets index 23b93e3..76e9ca1 100644 --- a/UltiSnips/javascript_angular.snippets +++ b/UltiSnips/javascript_angular.snippets @@ -12,8 +12,14 @@ beforeEach(inject(function($1) { })); endsnippet -snippet acon "angular config" i +snippet aconf "angular config" i config(function($1) { $0 }); endsnippet + +snippet acont "angular controller" i +controller('${1:name}', function($2) { + $0 +}); +endsnippet