0

When i try to load my ui-calendar in my angular.module i am getting Uncaught Error: Injector error. How will i include my ui-calendar. I am using npm install.

This is my error:

Uncaught Error: [$injector:modulerr] 
at angular.js:38
at angular.js:4408
at n (angular.js:336)
at g (angular.js:4369)
at eb (angular.js:4294)
at d (angular.js:1655)
at yc (angular.js:1676)
at Zd (angular.js:1570)
at HTMLDocument.<anonymous> (angular.js:28683)
at j (jquery.js:3148)

This is my module were i am including ui-calendar:

var ebsapp = angular.module("ebs", ['ui.bootstrap', 'angular.filter', 'toastr', 'ui.calendar']);

Or is there any other script tags that needed to be included. if so please give me the script tags.

My injector error got resolved. I want to get a full calendar view.

I am using this div code:

<div ui-calendar ng-model="eventSources"></div>

How to get a simple calendar view??

Is these are the scripts i need to load ??

<link rel='stylesheet' href='fullcalendar/fullcalendar.css' />
<script src='lib/jquery.min.js'></script>
<script src='lib/moment.min.js'></script>
<script src='fullcalendar/fullcalendar.js'></script>

I tried to implement form https://jsfiddle.net/yy1rud17/326/ website where in i got the following out;

Whether i need to initialise my calendar??

0 Answers0