fixed unit tests. removed old code.
updated ui-bootstrap version to work with >ng1.3.*