Fix directive typing to isolated scope error