I'm new to angular and I'm using angular-bootstrap-datetimepicker, and I want to access its directive attribute data-datetimepicker-config in my controller
<datetimepicker data-ng-model="data.date" data-datetimepicker-config="{ dropdownSelector: '.dropdown-toggle' }"></datetimepicker>
I have a select component which contains values like daily monthly and yearly and I want to change the minView value of my datetimepicker with the select value.
How can I do that ?