register an app.controller