adding url to directive