refactored angular methods