Refactored app to use angular-ui instead of angular-strap