title: Delete getters/setters Javascript
body: <p>I had created a getter/setter in $scope variable of angularjs </p>
  
  <pre><code>  Object.defineProperty($scope,
        "isActive", {
          enumerable: true,
          configurable: true,
          get: function get() {
            return $scope.controlStatus;
          },
          set: function set(val) {
            $scope.controlStatus = val;
            _.isFunction($scope.callback) ? $scope.callback({ id: $scope.for, status: val }) : null;
          } });
  </code></pre>
  
  <p>i want to delete this getter/setter in particular condition, please suggest me how should i do it ??</p>