bootstrap
bootstrap copied to clipboard
Modal: strange behavior
simple plunk: http://plnkr.co/edit/0yCOdDrNPq5EXLkXlq5N
Click "Open me!" Why Text1 and Text2 fields are different when I edit input textbox?
@alexander-konovalov this is due to a transclusion scope that exists between your controller and the modal template: http://plnkr.co/edit/rAaWVJqlykXcNMZIN0nR?p=preview
I was having the same issue. It took a while until we found the cause for this :).
Can you explain why we cannot use the controller like a common scenario?
Edit: I guess it's because we are using a modal-window directive? That's where the transclude happens?