chore: update libs and tests

- Update angular to 1.2.21
- Update karma and test conf
- Replace undescore by lodash
style: fix some CS