In the above directive, we have listened for the
insert hook of the element which our directive is being attached to. We modify both the color and background style properties of the element. Next, we defined a function that decodes a string into
base64 encoding, then we then change the HTML of the element into the result of our function.
In our methods section, we have two methods:
get_active_or_inactive which gets all the active users based on our status and
filter_by_date . This returns an array of users in ascending order based on the