Hi sandro. I did not find any solution. I writes in AngularJS so I used ui.bootstrap.datepicker instead. It works great! https://angular-ui.github.io/bootstrap/ Good luck!
Regards Cecilie On Mon, May 11, 2015 at 10:05 PM, sandro adamia <[email protected] > wrote: > Hi Cecilie > Did u find solution for this problem ? > > > On Thursday, December 11, 2014 at 3:56:26 PM UTC+4, Cecilie Andersen wrote: >> >> I am learning using directives and used an example from the AngularJS >> book, available at GitHub >> https://github.com/shyamseshadri/angularjs-book/tree/master/chapter8/datepicker >> . >> I get an error running tha app (in Angular 1.3.5): >> Error: [$compile:multidir] Multiple directives [datepicker, datepicker] >> asking for new/isolated scope on: <div ng-switch="datepickerMode" >> role="application" ng-keydown="keydown($event)" id="dateField" >> datepicker="" ng-model="$parent.currentDate" select="updateMyText(date)"> >> >> Why is the my app calling the directive two times? How can I fix this? >> >> See plunker for example code. http://plnkr.co/edit/RtuCck6tsqMRGPawKeYB >> My code is more extensive so this code only shows how I have configured >> the datepicker directive in my app. >> >> >> Regards Cecilie >> >> >> -- > You received this message because you are subscribed to a topic in the > Google Groups "AngularJS" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/angular/YB6D0you32s/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
