How to call a method in the child window in Angular JS