Fix error in sample code

The first argument for the loader var should be service