I cannot figure out why the following code isn't working. I am following the answer here and various other tutorials/answers but the button is not disabling when the fields are empty.
<h3>Add address</h3>
<div ng-include="'app/views/partials/form.html'"></div>
<button ng-click="ctrl.cancelAddress()">Cancel</button>
<button ng-disabled="addressForm.$invalid" class="save-btn" ng-click="ctrl.saveAddress(ctrl.name, ctrl.address, ctrl.country)">Save</button>
app/views/partials/form.html
<form name="addressForm" novalidate>
<input ng-model="ctrl.name" type="text" name="RecipientName" required>
<p ng-show="addressForm.RecipientName.$error.required">Username is required</p>
<input ng-model="ctrl.address" type="text" name="AddressLineOne" placeholder="Address" required>
<p ng-show="addressForm.RecipientName.$error.required">Address is required</p>
<select ng-model="ctrl.country">
<option ng-repeat="country in ctrl.countries" value="{{country.name}}">{{country.name}}</option>
<p ng-show="addressForm.addressCountry.$error.required">Username is required</p>
</select>
</form>