i been trying use angular: ui-calendar meteor, error.
typeerror: calendar.fullcalendar not function @ scope.scope.initcalendar (calendar.js:265) @ object.fn (calendar.js:337) @ scope.$digest (angular.js:15896) @ scope.$apply (angular.js:16160) @ bootstrapapply (angular.js:1679) @ object.invoke (angular.js:4523) @ dobootstrap (angular.js:1677) @ object.bootstrap (angular.js:1697) @ htmldocument.onready (app.js:47) @ fire (jquery.js:3143)
in meteor packages habe:
angular 1.2.3 angularui:ui-calendar
also tried use package inserted directly not using meteor add. using calendar.js file (which different)
both same error.
tried this: https://github.com/angular-ui/ui-calendar/issues/267
scope.initcalendar = function () { if (!calendar) { calendar = $(elm); } calendar.fullcalendar(options); if (attrs.calendar) { uicalendarconfig.calendars[attrs.calendar] = calendar; } };
but seems fix doesnt work meteor , angular-meteor.
any ideas on how fix issue?
i think may not have correctly configured controller page?
i had same issue using ui-router, had controller specified incorrectly , wasn't being wired up. fixing made calendar appear , error go away.
Comments
Post a Comment