diosney / angular-bootstrap-datetimepicker-directive

A wrapper directive around the bootstrap-datetimepicker component.
MIT License
69 stars 50 forks source link

Child Controller can't update DateTimePicker but changes the options #16

Open mts88 opened 9 years ago

mts88 commented 9 years ago

Hello, i have some problem with child controller. I'm writing a simple calendar, but i have a parent controller where is datetimepicker and his option model, i want to change some settings in this parent datetimepicker. In this calendar there are 3 view mode (monthly, weekly and agenda), so when user click in one of them i need to change setting of parent DateTime. The settings variable is changed correctly, but the datetime stay with the old view settings.

This is the code. http://pastebin.com/sNzxQPDB How can i figure out? Thx