Open bastienmoulia opened 7 years ago
Not a bug but a nice thing to have to be consistant with the angular way. When a modal is open with a controller and no controllerAs attribute the value of controllerAs should have $ctrl as default value like a component controller: https://docs.angularjs.org/guide/component#comparison-between-directive-definition-and-component-definition
controller
controllerAs
$ctrl
https://plnkr.co/edit/BoWfAtkzL8nGl4610PuT?p=preview
Angular: 1.6.1
UIBS: 2.4.0
Bootstrap: 3.3.7
Bug description:
Not a bug but a nice thing to have to be consistant with the angular way. When a modal is open with a
controller
and nocontrollerAs
attribute the value ofcontrollerAs
should have$ctrl
as default value like a component controller: https://docs.angularjs.org/guide/component#comparison-between-directive-definition-and-component-definitionLink to minimally-working plunker that reproduces the issue:
https://plnkr.co/edit/BoWfAtkzL8nGl4610PuT?p=preview
Version of Angular, UIBS, and Bootstrap
Angular: 1.6.1
UIBS: 2.4.0
Bootstrap: 3.3.7