Skip to content

Commit

Permalink
fix $attrs.$observe
Browse files Browse the repository at this point in the history
  • Loading branch information
Andre Eife committed Nov 3, 2015
1 parent 030b905 commit 489d23d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/scripts/directives.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ angular.module('feeds-directives', []).directive('feed', ['feedService', '$compi
}
}
}
$attrs.observe('url', function(url){

$attrs.$observe('url', function(url){
feedService.getFeeds(url, $attrs.count).then(function (feedsObj) {
if ($attrs.templateUrl) {
$http.get($attrs.templateUrl, {cache: $templateCache}).success(function (templateHtml) {
Expand Down

0 comments on commit 489d23d

Please sign in to comment.