debug parameter from view to directive