Linked Questions

30 votes
1 answer
47k views

How to set page title with AngularJS [duplicate]

I am using the following code to display page titles for each of my AngularJS app template, but whenever I try to enter an invalid URL to test the .otherwise I get the following error: TypeError: ...
Ammar Khan's user avatar
  • 2,605
2 votes
2 answers
3k views

How to change the page title using a variable in Angular Js? [duplicate]

I am changing my title dynamically in AngularJs, using the following code: app.run(['$rootScope', function($rootScope) { $rootScope.$on('$routeChangeSuccess', function (event, current, previous) {...
darkhorse's user avatar
  • 8,874
0 votes
2 answers
234 views

How do I add page-title using angular? [duplicate]

I need to dynamically load the page title using angular. What is the best way of doing this? Any ideas could be very useful.
SKZ's user avatar
  • 33
0 votes
0 answers
98 views

updating page title dynamically in angularJS [duplicate]

I'm trying to change the page title dynamically using UI-ROUTER. the page title that will be displayed is the same hat will be used in the URL :courses I know that i had just to bind the retrieved ...
Mohamed NAOUALI's user avatar
231 votes
29 answers
186k views

Angularjs - ng-cloak/ng-show elements blink

I have an issue in angular.js with directive/class ng-cloak or ng-show. Chrome works fine, but Firefox is causing blink of elements with ng-cloak or ng-show. IMHO it's caused by the converting ng-...
MelkorNemesis's user avatar
103 votes
15 answers
64k views

Set Page title using UI-Router

I am migrating my AngularJS based app to use ui-router instead of the built in routing. I have it configured as shown below .config(function($stateProvider, $urlRouterProvider) { $urlRouterProvider....
user avatar
40 votes
5 answers
46k views

How can I update meta tags in AngularJS?

I am developing an application using AngularJS. I want to update meta tags on route change. How can I update meta tags in AngularJS which can be shown in "view source" on the page? here is a HTML ...
Amb's user avatar
  • 3,353
13 votes
3 answers
21k views

How to change page title in Angular using $routeProvider

I found several similar questions, however none of the answers helped. They all seem to involve some type of $location dependencies that I'm unable to get injected right. My code below: (function() {...
Leon Gaban's user avatar
  • 39.4k
12 votes
5 answers
15k views

single page application can't get current page meta tag for facebook share

I'm trying to implement the facebook share button in my app, however I can't seem to get it to work on and idk why this is what I have so far. html(/post/some-random-string) <div id="fb-root">&...
John Lim's user avatar
  • 3,109
14 votes
3 answers
9k views

Updating title tag using AngularJS and UI-Router

I am running into a weird issue while trying to set the title of the page using the name of the current state (via ui-router). Actually, the issue is not with setting the title, the issue is that ...
ChrisThomas's user avatar
1 vote
2 answers
10k views

How to change html title tag dynamically and translated to languages in AngularJS

I have an AngularJS web application. I would like to change page´s title dinamically. I would like the language configured is taken into account, so title should be displayed in different languages. ...
Rober's user avatar
  • 6,158
2 votes
3 answers
5k views

change title of a page with angularjs routing

I want to change the page title of my page using routing, so far my title s getting changed but my url is being appended in the title. Any clue as to why? index.html: <title ng-bind-html="title "&...
Miss Doubtfire's user avatar
0 votes
3 answers
3k views

AngularJS change Page title from view

I got an index.html page with the following code <html> <head> <title>{{title}}</title> </head> </html> And i got a view.html <div ng-controller="changeCtrl"&...
user3052526's user avatar
3 votes
1 answer
2k views

Proper way to display view name

I would like to display the view name above the view Basically, I am looking for something like <h1>{{viewName}}<h1> <div ng-view=""></div> I have tried convoluted ways to get ...
MonoThreaded's user avatar
  • 12.1k
0 votes
1 answer
2k views

using AngularJS ng-class in a span element

I have a dashboard-style widget container, which contains a header panel. I have several icons in the header panel which implements the following features: 1) collapse widget 2) maximize widget 3) ...
bob.mazzo's user avatar
  • 5,767

15 30 50 per page