As for Angular.UI Calendar to specify the active month and today's date?

Use angular-ui.github.io/ui-calendar
But the methods getDate and getToday can't get what you require.
1. returns the getDate returns the date 2016-06-25T09:40:45.802 Z but in quotes, it fails to filter through | date
2. getToday does not return, it is necessary to use a new Date, but I would like to associate with calendre.
$scope.getDate = function() {
 return uiCalendarConfig.calendars['myCalendar1'].fullCalendar('getDate');
}
 $scope.getToday = function() {
 return uiCalendarConfig.calendars['myCalendar1'].fullCalendar('today');
 }
July 8th 19 at 11:55

Find more questions by tags Angular