Pop-up actions for AngularJs