Routing to a Controller with no View in Angular

Posted by Rick Strahl on West-Wind See other posts from West-Wind or by Rick Strahl
Published on Tue, 15 Oct 2013 20:56:01 GMT Indexed on 2014/05/26 21:27 UTC
Read the original article Hit count: 468

Filed under:
|
Angular provides a nice routing, and controller to view model that makes it easy to create sophisticated JavaScript views fairly easily. But Angular's views are destroyed and re-rendered each time they are activated - what if you need to work with a persisted view that's too expensive to re-render? Here's how to build a headless controller that doesn't render a view through Angular, but rather manages the the view or markup manually.

© West-Wind or respective owner

Related posts about angular

Related posts about JavaScript