Changed main router to ui-router;
Home page handling;
Minor changes;