title: How to return multiple values in scope.watch?
body: <p>I am trying to return multiple values from $scope.watch function. </p>
  
  <pre><code>angular.module("MainApp")
  .directive('isActiveNav', [ '$location', function($location) {
      return {
       restrict: 'A',
       link: function($scope, el, attrs) {
        $scope.location = $location;
        $scope.$watch(function() {
                return (el.parent().parent().parent().parent().hasClass('cbp-small'),location.path());
            }, function(hasClas, currentPath) {
                setTimeout(function(){
                  console.log(hasClas, currentPath);
               },0)
          });
      }
   };
  }]);
  </code></pre>
  
  <p>But this is giving me this error <code>Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode</code>.</p>
  
  <p><strong>I am trying to watch multiple values here:
   1. Current-Url of the APP
   2. If a certain element has a class named "cbp-small"</strong></p>
  
  <p>I have tried $watchCollection and $watchGroup also but weren't able to make them work either. And thus am trying to return multiple values form scope.watch func. </p>