How to make a list and grid view toggle switch control that loads in partials in AngularJS? How to make a list and grid view toggle switch control that loads in partials in AngularJS? angularjs angularjs