var myApp = angular.module('myApp ',[]); myApp .config(function ($routeProvider, $locationProvider) { $routeProvider // route for the home page .when('/1', { templateUrl: 'Login/Login.cshtml' , controller: 'Login/Login' }) // route for the about page .when('/2', { templateUrl: 'Login/Login1.cshtml' , controller: 'Login/Login1' }) // route for the contact page .when('/3', { templateUrl: 'Login/Login2.cshtml' , controller: 'Login/Login2' }); // use the HTML5 History API $locationProvider.html5Mode(true); });
var myApp = angular.module('myApp ',[]);
var myApp = angular.module('myApp ',['ngRoute']);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)