use this inside ng-click function
$('#myModal').modal('hide');
On Monday, April 15, 2013 9:44:06 AM UTC+5:30, clayton collie wrote:
>
> Have you seen
>
> http://angular-ui.github.io/bootstrap/
>
>
> El domingo, 14 de abril de 2013 17:56:09 UTC-4, Leblanc Meneses escribió:
>>
>>
>> data-dismiss="modal" is bootstrap's way to dismiss a modal window
>>
>>
>> <button data-dismiss="modal" class="btn btn-primary"
>> ng-click="AddWidget(SizeX,SizeY,Row,Column)">Add Widget</button>
>>
>>
>> Individually data-dismiss works to close modal window.
>>
>> After adding ng-click to do work in my controller the modal window no
>> longer closes.
>>
>> Anyone know how to get these 2 attributes to work nicely together?
>>
>> version: 1.0.5
>>
>>
>>
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.