Created
November 14, 2015 12:49
-
-
Save MacKentoch/30d5bb713bca4694199d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//in console (chrome) | |
var templatesToCheck = 'svg/decoration/info-512px.svg'; | |
var ngAppElem = angular.element(document.querySelector('[ng-app]') || document); //works even if you manually bootstraped (ie ES6 app) | |
ngAppElem.injector().get('$templateCache').get(templateToCheck); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment