I have a directive that I want to add to div but only if the user is on a particular page. The code below shows the directive but I want it to be only added if that page is as follows in the second snippet - I have the variable selectedSection
that will provide me with page the user is on
// my html code
<div class="dynamic-tabs" prompt="manage">
// my pseudocode
if (selectedSection == 'admin') then add the 'prompt="manage" directive