menu update: model, angular logic;

This commit is contained in:
tmshv committed 2015-07-08 23:08:26 +03:00
1 parent 0e67001b26
commit 8d2d889759
5 files changed
+67 -53

No files matched your search

+3 -1
View File
@@ -51,7 +51,9 @@ module.exports = function (app) {
}
);
app.controller("AlbumPageController", function ($scope, $http, $routeParams, api) {
app.controller("AlbumPageController", function ($scope, $http, $routeParams, api, menu) {
menu.activate('/gallery');
api.gallery.album(
$routeParams.year,
$routeParams.course,