Testing Angular directive controllers post