Added new directive to mainDirective.js