Thanks, this was hard for me to find out.
Moreover I had introduced another bug: I forgot to isolate the scope of the stkWatchlistPanel directive so $scope.watchlist got overwritten by it:
PHP Code:
.directive('stkWatchlistPanel',
function ($location, $modal, $routeParams, WatchlistService) {
return {
templateUrl: 'views/templates/watchlist-panel.html',
restrict: 'E',
scope: {}, // <<== isolate scope
link: function ($scope) {
// [2] initialize variables
$scope.watchlist = {};
Maybe this helps someone some day
