Added a lot of things:
 - error handler
 - errors
 -angular register template