bootstrap
bootstrap copied to clipboard
Whether it is possible to read properties of angular form inside Modal controller ?
http://plnkr.co/edit/Vhl0BQAf3WHSCQiBbRtQ?p=preview
I can read property $scope.form.$invalid in ModalDemoCtrl But I can't read property $scope.formModal.$invalid in ModalInstanceCtrl because formModal is undefined
Thanks
Take a look here : https://github.com/angular-ui/bootstrap/issues/969
@julienmeyer is right. This is worked-around in master, working towards a release.