adds directives for home route, drops ngRoute for ui-router, refractors pub sub