Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8972959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:20:31+00:00 2026-06-15T18:20:31+00:00

UPDATE: So, it appears this is an issue with IE and javascript updating the

  • 0

UPDATE:

So, it appears this is an issue with IE and javascript updating the title element. With that in mind, does anyone know how to fix that issue? As of right now I don’t have an answer to accept for this question so might as well get to the bottom of this.

ORIGINAL QUESTION:

I’ve really been digging in to AngularJS recently and loving it. I’m running in to a major issue however. The data binding/templating is not working in IE 8. I’m setting a variable called $scope.pageTitle in my MainController and it works in Chrome and Firefox. In IE 8 it displays as {{pageTitle}} in the title bar and I can’t find any information on how to fix this. Its driving me nuts. Can anyone help or point me to a resource I may have over looked? If really needed I can make a jsfiddle as an example.

Here is the top of my index.html:

<!DOCTYPE html>
<html lang="en" ng-app="App" ng-controller="MainController">
    <head>
        <!-- Vendor JS Libraries -->
        <script type="text/javascript" src="lib/angular.js"></script>
        <script type="text/javascript" src="lib/underscore-min.js"></script>
        <script type="text/javascript" src="lib/jquery.js"></script>
        <!-- Bootstrap JS & CSS -->
        <script type="text/javascript" src="lib/bootstrap/js/bootstrap.js"></script>
        <link rel="stylesheet" type="text/css" href="lib/bootstrap/css/bootstrap.css">
        <!-- Lightbox  JS & CSS-->
        <script type="text/javascript" src="lib/lightbox/js/lightbox.js"></script>
        <link rel="stylesheet" type="text/css" href="lib/lightbox/css/lightbox.css">
        <!-- Application resources -->
        <script src="static/app.js"></script>
        <link rel="stylesheet" type="text/css" href="static/app.css">

        <title>{{pageTitle}} &ndash; Site Name</title>
    </head>

and my app.js:

//AngularJS stuff
angular.module('App', []).
    config(function($routeProvider)
    {
        $routeProvider.
            when('/home', {templateUrl:'templates/home.html', controller:HomeController}).
            otherwise({redirectTo:'/home'})
    });

function MainController($scope){
    $scope.pageTitle = 'Default';

    $scope.setPageTitle = function(pageTitle){
        $scope.pageTitle = pageTitle;
    }
}

function HomeController($scope){
    $scope.setPageTitle('Home');
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T18:20:32+00:00Added an answer on June 15, 2026 at 6:20 pm

    Thought I would post and answer since it came in the form of a comment. This appears to be an issue with IE and modifying the title tag with in Javascript. I solved this by using IE conditionals

    <!--[if !IE]> -->
    <title>{{pageTitle}} &ndash; Site Title</title>
    <!-- <![endif]-->
    
    <!--[if IE]>
    <title>Site Title</title>
    <![endif]-->
    

    Not ideal but it works.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Update : This is no longer an issue from C# 6, which has introduced
UPDATE This would appear to be a issue with background in IE8. CSS3 PIE
I know at first glance (due to the title) this looks like one of
Here is my issue, it appears that all the communication lines for the PIC
I'm really hoping that someone can help. I have tomorrow to get this right
UPDATE 3: For anyone who reads this, this is why it wasn't working as
how to update a table without redirecting the page using javascript or jquery this
Update Oct 15, 2012 PyPi is now showing matplotlib at 1.1.0 so this issue
Update : The problem appears to have been corrupt DLLs somewhere in my PHP
Update: I reported this as a bug to Apple and they fixed it! All

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.