The official repository of the ng-newsletter beginner series.
Check out part 1 in the part1 branch!
The official repository of the beginner series tutorial on ng-newsletter.com
I thought the riddle goes: "...cause 7 8 (ate) 9" not "...cause 2 3 (ate?) 4".
Regardless, I too am a newbie to your Angular 1 series and would like to learn it. Thanks for putting up your code on GitHub!
Gerald
It appears that $http is not injected into the controller. I got a ReferenceError because $http was undefined when attempting to run the code straight from the branch. The parameters on the
app.controller('PlayerController', function($scope, $http) {
bit are also different. That is, your post differs from the code in the Part 3 branch, though I don't understand exactly why (why is the second argument not an array?).
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.