Ionic framework and angular ui calendar issue? Ionic framework and angular ui calendar issue? angularjs angularjs

Ionic framework and angular ui calendar issue?


$scope.myCalendar.fullCalendar('prev')

this essentially invokes a function prev() on the encapsulated calendar object.

fullCalendar.js:line 132: var r = calendar[options].apply(calendar, args);

After invoking the function it will return this which is the result because check this out in fullCalendar.js

function prev() {    renderView(-1);}

This is not returning anything.

If you want to get date try passing 'getDate' to fullCalendar

 $scope.previousEntries = function(){    $scope.myCalendar.fullCalendar('prev');    var calenderDate = $scope.myCalendar.fullCalendar('getDate');  }