2

I am developing a website(SPA) in AngularJS.

I set page titles dynamically:

<title>{{ pageTitle }}</title>

for each page I have unique page titles which should be generated base on user input.

everything works fine and I have read that there is no SEO problem with this method. but the problem is that in browsers Bookmark tab, I see "{{ pageTitle }}" instead on the title of the website. I know that it's because of the browsers behavior but is there a way to fix it?

one solution that came in my mind is to use the following code instead:

<title ng-bind="pageTitle">My actual website title</title>

how good is this?

VafaK
  • 514
  • 1
  • 6
  • 22

0 Answers0