Cleanup use of document.location. Where available use $location.path() instead.
Cleanup use of document.location. Where available use $location.path() instead.

materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org,materials-commons/materialscommons.org