ngroute change master page for specific route
<p>I want to know if its possible to change the master page which is used by ngroute for specific pages. For example, I want to display different master page or exclude completely the master page for specific pages but still maintain the url structure. </p>

<p>Example:</p>

<pre><code>app.config(function ($routeProvider, $locationProvider) {
    $routeProvider.when("/home", {
            controller: "homeController",
            templateUrl: "/views/home/index.html"
        })
        .when("/ourteam", {
            templateUrl: "/views/home/our-team.html",
            title: "Our Team"
        })
        .when("/login", {
            templateUrl: "/views/home/login.html",
            title: "Login",
            countroller: "loginController"
        });
    $routeProvider.otherwise({ redirectTo: "/home" });
    $locationProvider.html5Mode(true);
});
</code></pre>

<p>Url redirect works fine but the actual layout is messed up because the login page has different markup. Is it possible to switch to another master page for specific pages? </p>