Launch video file from Google maps InfoWindow()


I have used this tutorial which works perfect.

but now I am trying to put a video button inside** google.maps.InfoWindow()** , in the property content, like this:

var str_content = '<div><button data-tap-disabled="true" class="button button-clear button-positive" ng-click="playVideo(\'' + str_url_video + '\')">Play '+ name +'</button></div>';

var myinfowindow = new google.maps.InfoWindow({
content: str_content

Unfortunately, it is not working. The video is not shown. Any clue about it ?
Thank you.

It is fixed! It is necessary to compile this string in order to add the behaviuor inside the DOM.

Only add:
var compiled = $compile(str_content)($scope);
var str_content = compiled[0];

and above, in the controller add $compile
.controller('nameController', function($scope, ..., $compile) {