I'm currently working on a project that involves a controller with an attribute directive nested inside of it. This directive requires access to the ngModel of its parent controller.
For more context, feel free to check out this Plunkr.
Issue at Hand
Although the form seems to load properly, the console log within the directive is showing:
a.$âŠt.aa {$attr: Object, $$element: R[1], fieldValidator: "", boundModel: "person", ngModel: undefined}
Can anyone shed light on why the ngModel is coming up as undefined and why the boundModel is displaying 'person'? I've been staring at this for too long without any breakthrough...