more detail about how to call a controller function with a directive from within a row template