rewrite print to use ng-show and ng-class
[angular-drzb] / app / partials / list.html.ep
index d7c974b..586de49 100644 (file)
@@ -60,7 +60,7 @@ All results on single page <b>(can be slow!)</b>
 </label>
 
 <label>
-<input type="checkbox" ng-model="print_hide_status" ng-click="print_hide(print_hide_status)" >
+<input type="checkbox" ng-model="print_hide_status" ng-click="print.toggle(print_hide_status)" >
 Hide parts for print
 </label>