32teeths
32teeths

Reputation: 1499

Ionic, v1.0.0-beta.14 does not support ui-calendar

I was trying to use ui-calendar in my Ionic App . However I was getting this error ,

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)

Using a previous version however runs it as seen in the following plunkr . http://plnkr.co/edit/zfKkCp2pMaeDGvN3rq86?p=preview

How do I solve this . Please help .

Upvotes: 1

Views: 601

Answers (1)

Mark Veenstra
Mark Veenstra

Reputation: 4739

I have changed some versions from the used libraries and now the plunker works on ionic beta 14.

See: http://plnkr.co/edit/aYXBJ0Ll2Q4xMYBgkiTo?p=preview

Upvotes: 2

Related Questions