0

im getting data from mongodb using angularjs and nodejs and storing into one variable i want to filer date between two dates start date and end date and push into one array any one help me

var app = angular.module('app',[])
app.controller('ctrl1', function($scope,$http){

 - List item


$http.get('/api')
        .success(function(data) {
            $scope.recards = data;
            console.log(data);
            console.log('hello');
        })
        .error(function(data) {
            console.log('Error: ' + data);

        });
     }
Vijender
  • 1
  • 1

0 Answers0