Re-implemented permission-checking and restriction from pages in terms of roles, and re-populated the overview page with tables. This time, everything is done in angularJS and almost nothing is handled by the standalone javascript/jqueries.

Also, created a service to retrieve and store the session variables in angularjs using an HTTP get. Now angularjs has constant access to the session variables for that particular user, which makes it much more convenient to perform role-based displaying/hiding/restrictions.