added ng boilerplate and fix problem with accessing services