angular-ui / ui-calendar

A complete AngularJS directive for the Arshaw FullCalendar.
http://angular-ui.github.io/ui-calendar/
MIT License
1.49k stars 728 forks source link

Importing with JSPM/SystemJS #351

Open datrinh opened 8 years ago

datrinh commented 8 years ago
import calendar from "angular-ui-calendar";

angular.module('foobar', ['ui-calendar'])

throws

Uncaught Error: [$injector:modulerr] Failed to instantiate module vewa due to:
Error: [$injector:modulerr] Failed to instantiate module ui-calendar due to:
Error: [$injector:nomod] Module 'ui-calendar' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

I did try with importing jquery and fullcalendar plugin too, but the error stays the same. Did anyone manage to get this running?

martinmicunda commented 8 years ago

@LuckY1 I got running angular-ui-calendar with JSPM/SystemJS see my project here however I had to make small change in angular-ui-calendar library see this bug #267 with solution.