Skip to content

Commit 9f58abd

Browse files
piyush21upadhyaymportuga
authored andcommitted
fix(core): update remove method as it was throwing error.. (#7060)
Updated Plunker http://plnkr.co/edit/2hqSGn5r4I3RU2BMlmQF?p=preview
1 parent b085c6f commit 9f58abd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/tutorial/113_adding_and_removing_columns.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ For better performance with the following example, you can choose to load the ui
4343
};
4444

4545
vm.remove = function() {
46-
vm.columns.splice($scope.columns.length-1, 1);
46+
vm.columns.splice(vm.columns.length-1, 1);
4747
};
4848

4949
vm.add = function() {

0 commit comments

Comments
 (0)