Directives for front page added, and refactored. Front page init method is removed, and the resolve provided by angular-route is used instead.