I have been trying to create a mildy complex directive that requires many properties to be bound for proper behavior. Ideally, I would like to be able to bind a single "model" object to a directive attribute which is accessible from inside the directive. After reading, and re-reading, the directive API it looks like creating a new scope and binding with "=" is the approach I should be taking. However,
as this fiddle demonstrates the directive doesnt appear to be able to make use of the model object that is bound. Can someone shed some light on how to bind a complex object into a directive?