Upgrade resource.js to 1.0-beta2
Make container selector an option in ViewManager.