added loggly js to lib, now just gotta figure out load orders etc for angular

* updated code so "biz logic" is done on the service layer