facebook - How to display dynamic page description in a shared angularJS page (via google +1 for instance) -


I am trying to enable Meta in our app for google + and facebook + and I do not get anything The URL of the page, or {{pageDesc}} in the post, I am currently using an instruction that sets the meta description dynamically:

HTML:

 < code> & lt; Meta meta-description & gt;   

Directive:

  App Directional ('Meta Description', ['Metadata', Function (Metadata)) {Refund {Restrict: 'A ', Replace: True, Template:' & lt; Meta name = 'description' content = "{{description}}" & gt; ', link: function (scope, element) {scope.metaData = metaData; scope.description = scope.metaData PageDesc;}};}]) ;   

While doing this, Google API does not recognize the title and description and sets the URL of the current page and the URL of the site as title / description.

I was pinging around with a preorder. io, but I had to disable it because it has caused the +1 plugin crash.

you have ten Documents must set HTML those values ​​before submission. The Facebook / Google / etc bots that crawl the pages they do not perform normally JavaScript.

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -