refactoring angular

services, adding 404 page, cleanup