I get the following error with Angularjs 1.6 and with the datepicker of ui-bootstrap:
Error: [$compile:ctreq] Controller 'ngModel',
required by directive 'uibDatepicker', can't be found!
This error appears only when I use the datepicker in a component. If I use it in a directive, it works well. The error jumps when the calendar opens.
Any help? Thanks !!