Added role-based authorization both for pages and html elements. Routing module was migrated from ngRoute to ui-router for correct authorization implementation.