Angular e2e tests

- Some refactoring
- Configured angular e2e and added sample tests

@settinghead @donnapep @stulees please review. Thanks.