I am using http://angular-ui.github.io/bootstrap/ modal.
Now i want to open Modal whenever page loads
<script>
$(document).ready(function () {
open('lg');
});
</script>
I am using http://angular-ui.github.io/bootstrap/ modal.
Now i want to open Modal whenever page loads
<script>
$(document).ready(function () {
open('lg');
});
</script>
Module API has a
run
method. In your code for you app you add code to open the dialog in the run callbackAngular http://angular-ui.github.io/bootstrap/ has a directive and the $modal service and both of those can be used to open modal windows.
you then need to use:
there is a similar question in here: Invoking modal window in AngularJS Bootstrap UI using JavaScript