DefinitelyTyped/angularjs/angular-route-tests.ts
2013-10-23 14:55:46 -07:00

15 lines
368 B
TypeScript

/// <reference path="angular-route.d.ts" />
/**
* @license HTTP Auth Interceptor Module for AngularJS
* (c) 2013 Jonathan Park @ Daptiv Solutions Inc
* License: MIT
*/
declare var $routeProvider: ng.route.IRouteProvider;
$routeProvider
.when('/projects/:projectId/dashboard',{
controller: ''
})
.otherwise({redirectTo: '/'});