Hi - Thank you for the 7 part series and the repository. I followed the series -- worked the problems -- and then downloaded your project. I am a Newbie with Angular -- and cannot figure out the source of fatal digest error on the following app.directive
If I change the scope property to "play" (with no good logic other than hacking the code) -- then the page loads -- but the button to play an NPR program does not work
Hi - Thank you for the 7 part series and the repository. I followed the series -- worked the problems -- and then downloaded your project. I am a Newbie with Angular -- and cannot figure out the source of fatal digest error on the following app.directive
app.directive('nprLink', function() { console.log ("entered main.js directive nprlink"); return { restrict: 'EA', require: ['^ngModel'], replace: true, scope: { ngModel: '=', player: '=' // changed from player: '=' }, templateUrl: 'http://localhost:8080/view/nprListItem.html', link: function(scope, ele, attr) { scope.duration = scope.ngModel.audio[0].duration.$text; } } });
If I change the scope property to "play" (with no good logic other than hacking the code) -- then the page loads -- but the button to play an NPR program does not work
Can you provide any direction on how to resolve?