Changed the directive
Fix for directive loading all the pages