var directiveData = app.directive("directiveP2", function () {
return {
link:function postLink(scope,lEle,lAttr) {
lAttr.$observe('attrDd', function(value) {
YTpageData.bodyAttr.bgMusic = value;
console.log(YTpageData)
});
}
};
});