How to use ng-switch as a router for my pages with ngRoute & ngView?
问题 Here is the highlevel skeleton of my Angular SPA. My application is about college degree offerings. In that engineering page has a separate left nav which is currently built on ng-switch which i want to convert as route. How do i do that just using angular's native routing angular-route.js? **app.js** (function(){ var app=angular.module("myCollege",['ngRoute']); app.config(['$routeProvider','$locationProvider', function($routeProvider,$locationProvider) { $routeProvider .when('/', {