new angular ui snippets added

- when
- otherwise