I have taken a look at a couple other SO questions in regards to being able to use callbacks in directives but they don't seem to help with my fiddle. I have a parent directive and a child directive. On the scope of the parent I have a function that I need to invoke from a button on the child template directive. From what I have tried so far with my little Angular knowledge, I have not been able to get it to work without using ng-click
on the button.
I have been told that a directive should not concern itself with knowing about other directives, instead exposing certain methods on its scope that can communicate with another directive depending on what is passed in to the directive. I could be off course here, and I think that my fiddle shows that.
Any help in understanding would be greatly appreciated.