change controller scaffold template in order to build resource params

Change scaffold controllers template in order to generate resource params.