var app = angular.module("wevivu", ['ngMaterial', 'ngRoute', 'wu.masonry', 'ngFileUpload', 'infinite-scroll', 'ngToast']);
app.version = '/api/v1/';
app.user_id = $('meta[userid]').attr('userid');

app.config(function ($routeProvider) {
    $routeProvider
        .when("/", {
            templateUrl: '/pages/home/home.tmpl.html',
            controller: 'HomeController'
        })
        .when("/wall", {
            templateUrl: '/pages/wall/wall.tmpl.html',
            controller: 'WallController'
        })
        .otherwise({
            redirectTo: '/'
        });
});
var app = angular.module("wevivu", ['ngMaterial', 'ngRoute', 'wu.masonry', 'ngFileUpload', 'infinite-scroll', 'ngToast']);
app.version = '/api/v1/';
app.user_id = $('meta[userid]').attr('userid');

app.config(function ($routeProvider) {
    $routeProvider
        .when("/", {
            templateUrl: '/pages/home/home.tmpl.html',
            controller: 'HomeController'
        })
        .when("/wall", {
            templateUrl: '/pages/wall/wall.tmpl.html',
            controller: 'WallController'
        })
        .when("/user/:email", {
            templateUrl: '/pages/wall/user.tmpl.html'
        })
        .otherwise({
            redirectTo: '/'
        });
});
add route user wall