Skip to content

Commit 87e1400

Browse files
committed
fixing merges. ugh
1 parent 04c9482 commit 87e1400

2 files changed

Lines changed: 9 additions & 20 deletions

File tree

assets/sublime-angular-snippets/angular.controller.sublime-snippet

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
55
angular
66
.module('${1:module}')
7-
<<<<<<< HEAD
87
.controller('${2:Controller}', ${2:Controller});
98
109
/* @ngInject */
@@ -16,19 +15,16 @@
1615
1716
////////////////
1817
19-
=======
20-
.controller('${2:Ctrl}', ${2:Ctrl});
18+
/* @ngInject */
19+
function ${2:Ctrl}(${3:dependencies}) {
20+
/*jshint validthis: true */
21+
var vm = this;
22+
vm.title = '${2:Ctrl}';
2123
22-
/* @ngInject */
23-
function ${2:Ctrl}(${3:dependencies}) {
24-
/*jshint validthis: true */
25-
var vm = this;
26-
vm.title = '${2:Ctrl}';
27-
28-
activate();
24+
activate();
2925
30-
>>>>>>> 93eb74f33dd1304fdc4ab48fd47166055650a1ff
31-
function activate() {
26+
function activate() {
27+
}
3228
}
3329
}
3430
})();

assets/sublime-angular-snippets/angular.directive.sublime-snippet

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,31 +13,24 @@
1313
// Creates:
1414
//
1515
var directive = {
16-
<<<<<<< HEAD
16+
bindToController: true,
1717
controller: ${4:Controller},
1818
controllerAs: '${5:vm}',
1919
link: link,
2020
restrict: 'A',
2121
scope: {
2222
}
23-
=======
24-
link: link,
25-
restrict: 'A'
26-
>>>>>>> 93eb74f33dd1304fdc4ab48fd47166055650a1ff
2723
};
2824
return directive;
2925
3026
function link(scope, element, attrs) {
3127
}
3228
}
33-
<<<<<<< HEAD
3429
3530
/* @ngInject */
3631
function ${4:Controller} () {
3732
3833
}
39-
=======
40-
>>>>>>> 93eb74f33dd1304fdc4ab48fd47166055650a1ff
4134
})();
4235
]]></content>
4336
<tabTrigger>ngdirective</tabTrigger>

0 commit comments

Comments
 (0)