Added ui-bootstrap.
Refactoring.