album page head title update;

This commit is contained in:
tmshv committed 2015-07-09 06:56:08 +03:00
1 parent 1562e05fbf
commit 2ab71140e1
1 file changed
+2 -1
+2 -1
View File
@@ -51,7 +51,7 @@ module.exports = function (app) {
}
);
app.controller("AlbumPageController", function ($scope, $http, $routeParams, team, api, menu) {
app.controller("AlbumPageController", function ($scope, $rootScope, $http, $routeParams, team, api, menu) {
menu.activate('/gallery');
var year_uri = $routeParams.year;
@@ -89,6 +89,7 @@ module.exports = function (app) {
name: album.title
}
];
$rootScope.title = album.title;
});
});
};