2015-02-24 46 views
1

我试图在我的Ionic App中使用ui-calendar。不过,我得到这个错误,Ionic,v1.0.0-beta.14不支持ui-calendar

TypeError: undefined is not a function 
at Scope.link.scope.init (calendar.js:226) 
at Object.fn (calendar.js:262) 
at Scope.$get.Scope.$digest (ionic.bundle.js:22020) 
at Scope.$get.Scope.$apply (ionic.bundle.js:22282) 
at done (ionic.bundle.js:17439) 
at completeRequest (ionic.bundle.js:17629) 
at XMLHttpRequest.requestLoaded (ionic.bundle.js:17570) 

使用以前的版本,但运行它,如下面的plunkr中看到的。 http://plnkr.co/edit/zfKkCp2pMaeDGvN3rq86?p=preview

我该如何解决这个问题。请帮忙 。

+0

您是否在您的index.html中包含了'fullcalendar.js'?出于某种原因,你的朋友现在不开放给我。 – 2015-02-24 09:47:21

+0

这个笨蛋显示了一个工作的例子,但与以前版本的离子。是的,我已经包含了fullcalendar.js。 – 32teeths 2015-02-24 12:57:47

回答