(MVP) wrap jQuery method in angular custom directive, bind it to $scope var