added link function to directive, updated template, filtering works, get...

...ting data from form, roles are not finished, updating form data is not done

Change-Id: Iaae5c03142ea5b019e08c6c23916b88ae4776408