Renamed sample json

Updated the json name.
Changed REST API call to $resource

The REST call is now using $resource.