I\'m trying to use AngularJS Bootstrap alerts like explained here with the \"dismiss-on-timeout\" attribute. It has no effect in this example, the alert just appears regular
The solution here is correct, however it is outdated so here is the updated version.
In View: ( Updated in Angular UI Bootstrap )
{{alert.msg}}
In Controller:
$scope.show = true; $scope.closeAlert = function() { $scope.show = false; }; $scope.alert = {type: 'danger', msg: 'Something gone wrong'};