I have a directive with an isolate scope and its own controller. I'd like to pass a value from the parent scope and print out its value onto the markup. I thought I could merely pass it like this:
scope: {
isoProp: '='
}
I set up watches on the link and controller, so I do see the value being passed properly. However, I don't know how to use that value on the markup itself.
I've set up a Plunker to illustrate my issue. On line 17 in index.html, I was expecting {{dirCtrl.isoProp}}
or {{isoProp}}
to print out the value that I passed in, but they don't seem to.
Can someone explain what I'm doing wrong?