Skip to content

View provider updating views

Jens Melgaard edited this page Nov 26, 2013 · 5 revisions

Updating views can be done through methods on the view service.

  • $view.clear()
  • $view.clear(name)
  • $view.refresh(name)
  • $view.refresh(name, data)
  • $view.update(name, object: { template, controller, locals, sticky })
  • $view.create(name, object: { template, controller, locals })
Clone this wiki locally