fixed controller arguments in sample.js