Fixed the routing for api so that it starts with API. One problem is remaining. Api needs to be set as root, which prevents it from being accessed by itself, resulting in an inability to have an entry point in the API (the start point in a restful api). To be restful compliant, the starting resource doesn't specifically need to be the root but that would make sense if it was.

I also corrected the lyNotifer service on client side to use $log instead of console. That should make the service more testable