add 'as vm' to controller