a sample problem switcher using angular.js