I've got a checkbox and what I'm trying to achieve is to hide the div
when the checkbox is checked and show when it is unchecked in Angular 2.0 beta.
I know how to do this in angular 1.2 with this code
<label>
<input type="checkbox" ng-model="showhidepregnant"/> Pregnant
</label>
Code on the div
<div class="col-md-4 divhidetxtdpatient" ng-hide="showhidemasked">
<input class="form-control" tabindex="1" id="id_field_specialist" ng-model="id_field_specialist" type="text" ng-blur="savespecialist()" placeholder="maskable"/>
</div>
Thanks in advance.