Less logic in view. Var declaration in controller