Sha256: c098ce9c557d3f89bc695ea29f675f3c8e4f5b6920df29f2c384fc9f6d5d309c
Contents?: true
Size: 493 Bytes
Versions: 2
Compression:
Stored size: 493 Bytes
Contents
I"á(function() { this.app.controller('RepeaterFieldCtrl', [ '$scope', function($scope) { $scope.rows = [$scope.obj]; $scope.initRows = function(rows) { if ((rows != null) && rows.length) { return $scope.rows = rows; } }; $scope.addRow = function() { return $scope.rows.push($scope.obj); }; return $scope.removeRow = function(i) { return $scope.rows.splice(i, 1); }; } ]); }).call(this); :ET
Version data entries
2 entries across 2 versions & 1 rubygems