UI-bootstrap date help

Hello,
  I needed a calendar widget in my app . So, I found the UI-bootstrap date  widgets.. The code works as you can see from my plunker:  https://angular-ui.github.io/bootstrap/ .

However, when i select the calendar icon I get 2 calendar.

How do I fix this issue?

my plunk  : http://plnkr.co/edit/?p=preview

Thanks
chand pbAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RobOwner (Aidellio)Commented:
Please post your plunker again as that one didn't work.

Are you using AngularJS?
0
chand pbAuthor Commented:
Thanks for your help...

Yes , I am using angular

my plunker :
http://plnkr.co/edit/VeqReBSpkfUvmFj0pBwH?p=preview

Here is the control page ... https://angular-ui.github.io/bootstrap/
0
chand pbAuthor Commented:
Also, is there a way to warp it in a directive...
0
RobOwner (Aidellio)Commented:
Look I'm not sure - only learning Angular myself but I think you'd need a separate controller for each instance of the calendar.  This works but my gut says that the code could be simplified

http://plnkr.co/edit/7MDbiOKS8cnI0rQYzmQ4?p=preview
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.