update webapp

- using ng-strict-di
- using explicit function annotations
- move controllers, directive and services into separate files