Refactored ResMgr into separate angular module