understanding the angular js $resource

$Resource Basic At first sight AngularJS seems like a magical framework, which does some weird but awesome things like dependency injection, data binding only by setting a single property to the magical object named $scope and many other things. If you look at the source code of Angular you’ll see a lot of smart and…