invoke $ready in multiple level inheritance