docs: function pathSet(object, paths, newValue) {
          var pathArray = (angular.isArray(paths)) ? paths : (paths || "").split(".");
          var value = object;
          var lastIndex = pathArray.length - 1;
          angular.forEach(pathArray, function (name, idx) {
              var next = value[name];
              if (idx >= lastIndex || !angular.isObject(next)) {
                  next = (idx < lastIndex) ? {} : newValue;
                  value[name] = next;
              }
              value = next;
          });
          return value;
      }