binding scope to view