Just Starting out on AngularJS. I would like to create a self close message. How do we do this?
Basically I am attempting to produce the results similar to the following question:
How to Automatically Close Alerts using Twitter Bootstrap
But with AngularJS only.
I'm using the following code through an array. That doesn't work.
 $timeout(function () {
        stack.push(messages.pop());
        checkStack();
    },5000);