Adds scriptpath manager to the directive templateurls