I have a scope variable $scope.object = { prop: 12345 } whose properties I delete with setting them to undefined.
<button ng-show="object.prop" ng-click="object.prop = undefined"/>
Is there a possibility to delete a properties from within a template and without an additional function in the controller instead of setting their values to undefined?
Yes... I.e. that you can change the value of the variable ... Maybe it will be a help for you
try this:
or you can clear the value...
also you can set the value to null