Throw an Error on register a directive with the same name as a previous one