'use strict'; angular .module('customerLogin') .config(['$locationProvider' ,'$routeProvider', function config($locationProvider, $routeProvider) { $locationProvider.hashPrefix('!'); $routeProvider .when('/login', { template:'' }) .when('/resetpassword', { template:'' }) .when('/forgetpassword', { template:'' }) .when('/newaccount', { template:'' }) .otherwise({ redirectTo:'/login' }); } ]);