This short article is a continuation of my previous article. I’ve created a small directive to go along with the code developed in that article. This directive will display/hide an HTML element based on the user’s roles. Here is the directive’s code: (function () { 'use strict'; var directiveId = 'wf1RoleSecurity'; angular .module('app') .directive(directiveId, wf1RoleSecurity); […]
↧