Post testing AngularJS child directive that requires parent