Support Programmatic Triggers

I am so glad that many people accept my code, I hope it will help angular-ui be better.