feat(base): add a popup directive based on angular-ui/bootstrap