linking scope chain with a per app global scope