docs: function pathGet(object, paths) {
          var pathArray = (angular.isArray(paths)) ? paths : (paths || "").split(".");
          var value = object;
          angular.forEach(pathArray, function (name) {
              if (value) {
                  try {
                      value = value[name];
                  }
                  catch (e) {
                      // ignore errors
                      return null;
                  }
              }
              else {
                  return null;
              }
          });
          return value;
      }