code: function isCandidate(modulePath) {
          modulePath = modulePath || '';
          var pathParts = modulePath.split(delim);
          return (pathParts.length === 4 &&
                  pathParts[0] === 'app' &&
                  uiTypes.indexOf(pathParts[2]) >= 0);
      }
docs: Check if is candidate. We will use the path for this. Must be:
  app/{common or app name}/[pages|partials|layouts]/{name of file}
  
  @param modulePath
  @returns {boolean}