Angular services and directives for role based security