From 918ecd5c7dc0d15b117d0611c905c208d12c1b75 Mon Sep 17 00:00:00 2001 From: Brian Ford Date: Wed, 22 Oct 2014 18:14:46 -0700 Subject: [PATCH] f --- panel/scopes/scopes.html | 4 +++- panel/scopes/scopes.js | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/panel/scopes/scopes.html b/panel/scopes/scopes.html index 2680598..444a3e5 100644 --- a/panel/scopes/scopes.html +++ b/panel/scopes/scopes.html @@ -14,7 +14,9 @@ diff --git a/panel/scopes/scopes.js b/panel/scopes/scopes.js index 2cd8b66..3fb8565 100644 --- a/panel/scopes/scopes.js +++ b/panel/scopes/scopes.js @@ -7,6 +7,9 @@ function ScopesController($scope, inspectedApp) { $scope.scopes = inspectedApp.scopes; $scope.watch = inspectedApp.watch; + $scope.inspect = function (path) { + inspectedApp.watch($scope.inspectedScope, path); + }; $scope.inspectedScope = null;