Gets directory of script (directive) when it loads. Used to put templates in the same or a child directory.