I have an object which contains 2 properties and array of 4 objects($scope.details) I am trying to append a new object as a property to $scope.details.
this is the way i am trying:
var routeId;
var obj=new Object();
obj.routeId = $routeParams.id;
$scope.details = obj;
however not getting results. any suggestion on this?