Sha256: 56ea29a654d9e97f74bc0184fd0da90f8256edfee2d7fd86437f5bf6572600d4
Contents?: true
Size: 503 Bytes
Versions: 18
Compression:
Stored size: 503 Bytes
Contents
I"ë(function() { this.app.controller('RepeaterFieldCtrl', [ '$scope', function($scope) { $scope.rows = [null]; $scope.initRows = function(rows) { if (rows != null) { return $scope.rows = rows; } }; $scope.addRow = function() { return $scope.rows.push(null); }; return $scope.removeRow = function(i) { console.log("Removeing " + i); return $scope.rows.splice(i, 1); }; } ]); }).call(this); :ET
Version data entries
18 entries across 18 versions & 3 rubygems