How To Run Angular Js Program Interruptions