var QuotesController = function ($scope, $rootScope) {
$scope.quotes = finance.cache.quotes;
listeners.quote.push(function (quote) {
$scope.$apply(function () {
$scope.quotes[quote.productId] = quote;
});
$rootScope.$broadcast('quote', quote);
});
};