Switched to use Angular UI Bootstrap.