add scope to controller example