From b1af469ff76e5cfee0b809f89f6976ee5738950e Mon Sep 17 00:00:00 2001 From: Ryan Pineo Date: Mon, 21 Apr 2014 14:12:28 -0400 Subject: [PATCH] Rename angular config. Add angular controller. --- UltiSnips/javascript_angular.snippets | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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