How to pass object from Spring Controller to AngularJS [on hold]

@Controller
public class HelloController {
    @RequestMapping(value="/here", method=RequestMethod.POST)
    public String display( Model m)
    {   
      m.addAttribute("msg", "Hello from controller: ");
      return "NewFile";
    }
}

Source: AngularJS