example for ng-click inside a window #157