Skip to content

Commit

Permalink
adding fav icon
Browse files Browse the repository at this point in the history
  • Loading branch information
siddii committed Feb 18, 2014
1 parent 2318069 commit 923b8da
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/my-feeds.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,15 @@ <h3 class="panel-title">{{feed.title}}</h3>
restrict: 'A',
controller: ['$scope', '$element', '$attrs', '$timeout', function ($scope, $element) {
var feed = $scope.feed;
var feedHTML = "<feed url='" + feed.url + "' count='" + feed.count + "'/>";
var feedHTML = "<feed url='" + feed.url + "' count='" + feed.count + "' post-render='feedPostRender()'/>";
$element.append($compile(feedHTML)($scope));
}]
};
}]);

function feedPostRender($element) {
console.log('##### $element = ', $(this));
}
</script>
</body>
</html>

0 comments on commit 923b8da

Please sign in to comment.