title: Bootstrap alert dialog is not displayed further after auto-close
body: <p>I am using bootstrap alert to display application messages. I use $timeout function to close the alerts automatically.</p>
  
  <pre><code>$scope.alerts.push({header: header, msg: message, type: type});
              $timeout(function() {
                  $scope.alerts.splice(0, 1);
              }, 3000);
  </code></pre>
  
  <p>For the first time the bootstrap alert is displayed and it autocloses in 3 seconds. After that  it does not show error/info messages for any action done in the application. Is there anything I need to add.? I am new to angular js. Please help.</p>