Angular service to avoid routes from being loaded and ajax calls from being made without the required permissions.