Got markers and windows to work with ng-repeat instead of the markers and windows custome directives