fixed bug in Angular partial loading