Added scope to directive