Skip to content

Commit 4a2a861

Browse files
committed
update readme
1 parent ea64034 commit 4a2a861

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ Angular 1 module that integrates with Sortable.js
1111

1212
Don't install the old angular-legacy-sortablejs package as thats not maintained
1313

14-
1514
# Examples
1615

1716
## Simple Drag and Drop
@@ -38,7 +37,7 @@ angular.module('exampleApp', ['ng-sortable'])
3837
{$ item $}
3938
</li>
4039
</ul>`,
41-
controller: function AppSidebarController() {
40+
controller: function ComponentController() {
4241
var ctrl = this;
4342
ctrl.sortableConf = {
4443
animation: 350,
@@ -61,8 +60,8 @@ angular.module('exampleApp', ['ng-sortable'])
6160
<div>{$ item $}</div>
6261
</li>
6362
</ul>`,
64-
controller: function AppSidebarController() {
65-
var ctrl = this;
63+
controller: function ComponentController() {
64+
var ctrl = this;
6665
ctrl.sortableConf = {
6766
animation: 350,
6867
chosenClass: 'sortable-chosen',

0 commit comments

Comments
 (0)