Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I am using ui calendar to provide a calendar view in my application.

Question: The calendar loads fine and the calendar also accepts events just that I can not seem to access the calendar object using $scope.myCalendar.fullCalendar('prev'); through my controller that i am using.

If I am doing this wrong could you please provide an explanation as to how to access the calendar object?

Plunker

share|improve this question
    
code example? maybe in CodePen or a similar tool? –  Aaron Saunders Jun 24 at 12:36
    
Thanks for responding Aaron, I have put the code into plunker and have taken out the angular ui router, which I suspect is causing the issues, and this allows the $scope.myCalendar.fullCalendar object to be accessible in the controllers scope. added a plunker link on question will now try and determine whether or not it is either the anuglar ui router in ionic or something else in the ionic framework –  Matthew Hardern Jun 24 at 19:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.