controller as syntax