We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
How would one implement the following angular route in the context of TypeScript ?
And where would be the best place to place this ?
Example of angular route:
angular.module('App', ['ngRoute']).config(['$routeProvider', function ($routeProvider) { $routeProvider.when("/Main", { controller: "MainCtl", templateUrl: "/Views/Main.ascx", }).when("/DoSomething", { controller: "doSomethingCtl", templateUrl: "/Views/DoSometing.ascx", }).otherwise({ redirectTo: "/Main" }); }]);
Example of TS route:
There was an error while loading. Please reload this page.