sorted adding `$templateCache` support

#1