These are chat archives for filearts/plunker

15th
Dec 2016
kaddy8723
@kaddy8723
Dec 15 2016 07:35
how to display angular nvd3 line chart using array which contains objects like "A":3,"B':4 coz x axis is string value
chandumadeti
@chandumadeti
Dec 15 2016 07:50
hiiii
i am new to angular js
i am not getting file lenght in console
my code is $scope.fileContent = [];
$scope.bulkUpload = function(){
$scope.fileContent = $scope.fileContent.splice(0,$scope.fileContent.length-3);
for(var i=0;i<$scope.fileContent.length;i++){
var descarr = [];
var obj = {
name:$scope.fileContent[i][0],
description:$scope.fileContent[i][1],
restaurant_id:$scope.fileContent[i][2],
cover_photo:$scope.fileContent[i][3],
cover_video:$scope.fileContent[i][4],
dish_photos:$scope.fileContent[i][5],
price:$scope.fileContent[i][6],
label:$scope.fileContent[i][7],
serves:$scope.fileContent[i][8],
cuisine:$scope.fileContent[i][9],
type:$scope.fileContent[i][10],
spice_index:$scope.fileContent[i][11],
alcoholic:$scope.fileContent[i][12],
descarr: descarr
};
dishesService.addDish(obj).then(function(res){
console.log(res);
}, function(err){
console.log(err);
});
}
console.log($scope.fileContent.length);
$scope.getAllDishes($scope.dishId);
}
once check and give correct solution for it
rickgittest
@rickgittest
Dec 15 2016 16:45
I'm confused about using fork on Plunker. I'm trying to fork an existing plunk and then edit it. Seems simple enough. But when I try to edit a file, the preview opens in a new browser tab! Why is this happening and how to I simply edit a plunk obtained from someone else? Thanks.