feat(compute-path): make using name for path optional

The angular.js docs prefer to use the path of the original file over the
name of the doc.