Seems angular doesn't like using Object directly in templates any more.