diff --git a/javascript/js/controllers.js b/javascript/js/controllers.js index 0fd4abb..9140a3d 100644 --- a/javascript/js/controllers.js +++ b/javascript/js/controllers.js @@ -154,7 +154,36 @@ bpControllers.controller('ComparePredictionCtrl', ['$scope','$rootScope', '$loca bpControllers.controller('MoreInfoCtrl', ['$scope','$rootScope', '$location','DataSrc', function ($scope,$rootScope, $location,DataSrc) { activateTab("#/moreInfo"); - } + var watcher=function(a){ + var createWatcher=function(nm){return function(){ + $scope.$watch(nm,function(){ + console.log(nm+":"+$scope[nm]); + if($scope[nm]) $("."+nm).show(); + else $("."+nm).hide(); + }) + };}; + for(var i=0;iMore Info Click on the information below that you think you will need to solve this problem. + + + + + 20 lbs + 30 lbs + 100 inches + 8 inches + 8 inches + 16 inches + 24 inches + +
Done, Go To Next Step