Example at:
http://angularstrap.onsubject.com/
http://angularstrap.onsubject.com/demo.html
Check-in under experiments/angularStrap_example in bitbucket
Modals
<button class="btn btn-primary" bs-modal="modal">Show Modal</button>
And then, in your controller:
$scope.modal = {
title: 'Modal Title',
content: 'Modal content'
};
Tooltips
<button class="btn btn-link" bs-tooltip="tooltip">what's this?</button>
And inside your controller:
$scope.tooltip = {
title: 'Tooltip Title'
};
Alert
<button class="btn btn-primary" bs-alert="alert">Show Alert</button>
Your controller:
$scope.alert = {
title: 'Title',
content: 'Alert content',
type: 'success'
};
You can also instantiate the bootstrap functions via services:
controller('demoCtl', function($scope, $alert){
var alert = $alert({
title: 'Alert Title!',
content: 'Here\'s some content.',
type: 'danger',
container: '#alertContainer',
show: false
});
});
All things you can do, from the source: