Fullcalendar插件错误 - Angularjs

时间:2015-08-05 06:40:49

标签: angularjs fullcalendar

我正在尝试在我的角度项目中使用fullcalendar插件,但它无法正常工作。

我指的是所有必需的文件:

 <script src="~/Scripts/js_test/jquery/jquery-2.1.1.min.js"></script>
    <script src="~/Scripts/js_test/plugins/jquery-ui/jquery-ui.js"></script>
    <script src="~/Scripts/js_test/bootstrap/bootstrap.min.js"></script>

    <script src="~/Scripts/js_test/plugins/fullcalendar/fullcalendar.min.js"></script>

    <script src="~/Scripts/js_test/angular/angular.min.js"></script>
    <script src="~/Scripts/js_test/ui-router/angular-ui-router.min.js"></script>
    <script src="~/Scripts/js_test/bootstrap/ui-bootstrap-tpls-0.11.0.min.js"></script>

    <script src="~/Scripts/js_test/plugins/dataTables/angular-datatables.min.js"></script>
    <script src="~/Scripts/js_test/plugins/fullcalendar/gcal.js"></script>
    <script src="~/Scripts/js_test/plugins/fullcalendar/calendar.js"></script>

这是我的app_test:

(function () {
    angular.module('schoolAdminPortal', [
        'ui.router',                    // Routing
        'ui.calendar'
    ])
})();

错误: enter image description here

配置:

$scope.events = [
        {title: 'All Day Event',start: new Date(y, m, 1)},
        {title: 'Long Event',start: new Date(y, m, d - 5),end: new Date(y, m, d - 2)},
        {id: 999,title: 'Repeating Event',start: new Date(y, m, d - 3, 16, 0),allDay: false},
        {id: 999,title: 'Repeating Event',start: new Date(y, m, d + 4, 16, 0),allDay: false},
        {title: 'Birthday Party',start: new Date(y, m, d + 1, 19, 0),end: new Date(y, m, d + 1, 22, 30),allDay: false},
        {title: 'Click for Google',start: new Date(y, m, 28),end: new Date(y, m, 29),url: 'http://google.com/'}
    ];

0 个答案:

没有答案