Added a view example in a sample controller