Showing posts with label angular. Show all posts
Showing posts with label angular. Show all posts

Angular - search for key or value in all scopes

Imagine you have big angular page with many controllers, directives, scopes etc. It can be difficult to find if there is already information you need in some of scopes.

I wrote javsascript script which searches for value in all scopes and objects.


clear();
var options = { phrase: "Managetemplates", exact: false };