Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var vm = this;
- vm.annualConsumption = null;
- vm.calorificVal = null;
- vm.zNumber = null;
- vm.checkIfAllValuesAreSet = checkIfAllValuesAreSet;
- function checkIfAllValuesAreSet() {
- return vm.annualConsumption && vm.calorificVal && vm.zNumber;
- }
- ng-show="myControllerCtrl.checkIfAllValuesAreSet()"
- ng-show="vm.annualConsumption && vm.calorificVal && vm.zNumber"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement