2
It seems that ng module was not loading properly because it was not installed.
<script src="http://code.angularjs.org/1.2.19/angular-resource.js"></script>
And I fixed my controller. One should write:
$scope.property = Property.get({pk: 1});
instead of:
var property = Property.get({pk: 1});
It seems that it works now!
Source:stackexchange.com