add sample usage ngresource