Fix error in sample code

The first argument for the loader var should be service
Merge pull request #2 from nayrangnu/patch-1

Fix error in sample code