Commit 239472ef7052441859f5ad921749a0504f2992b1
1 parent
73f1f471
Exists in
master
and in
2 other branches
Saving token in scope and fixing bug on metatag
Showing
2 changed files
with
3 additions
and
2 deletions
Show diff stats
ConfJuvApp/www/index.html
... | ... | @@ -2,7 +2,7 @@ |
2 | 2 | <html> |
3 | 3 | <head> |
4 | 4 | <meta charset="utf-8"> |
5 | - <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width; height=device-height"> | |
5 | + <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width, height=device-height"> | |
6 | 6 | |
7 | 7 | <title>#3confjuv</title> |
8 | 8 | ... | ... |
ConfJuvApp/www/js/controllers.js
... | ... | @@ -21,9 +21,10 @@ angular.module('confjuvapp.controllers', []) |
21 | 21 | // Function to open the modal |
22 | 22 | $scope.openModal = function() { |
23 | 23 | if(ConfJuvAppUtils.getPrivateToken()){ |
24 | + $scope.token = ConfJuvAppUtils.getPrivateToken(); | |
24 | 25 | $scope.loggedIn = true; |
25 | 26 | $scope.loadMe(); |
26 | - $scope.loadTopics(ConfJuvAppUtils.getPrivateToken()); | |
27 | + $scope.loadTopics($scope.token); | |
27 | 28 | } else if ($scope.modal) { |
28 | 29 | $scope.modal.show(); |
29 | 30 | } else { | ... | ... |