update angular library
refactor popups