equal
deleted
inserted
replaced
16 .directive('slideEditor', function() { |
16 .directive('slideEditor', function() { |
17 return { |
17 return { |
18 restrict: 'AE', |
18 restrict: 'AE', |
19 replace: true, |
19 replace: true, |
20 scope: false, |
20 scope: false, |
21 templateUrl: 'slides/dataEditor.html', |
21 templateUrl: 'slides/data_editor.html', |
22 controller: function($scope){ |
22 controller: function($scope){ |
23 $scope.slidesave = function(){ |
23 $scope.slidesave = function(){ |
24 if(typeof $scope.slide.tags === 'string'){ |
24 if(typeof $scope.slide.tags === 'string'){ |
25 $scope.slide.tags = $scope.slide.tags.split(','); |
25 $scope.slide.tags = $scope.slide.tags.split(','); |
26 for (var i = $scope.slide.tags.length - 1; i >= 0; i--) { |
26 for (var i = $scope.slide.tags.length - 1; i >= 0; i--) { |