var modalHelper ModalHelper directives templates forms contact html co

1
2
3
4
5
6
var modalHelper = ModalHelper('directives/templates/forms/contact.html', {
countries: function() {
return CountriesService.getCountries().$promise;
}
});
self.crudHelper = ModalCrudHelper(Contacts, modalHelper, 'contact');