Merge pull request #818 from danieljsinclair/patch-1

IRoute.templateUrl also now accepts a function instead of a string.
This commit is contained in:
Diullei Gomes
2013-08-03 09:09:13 -07:00

View File

@@ -622,7 +622,7 @@ declare module ng {
interface IRoute {
controller?: any;
template?: string;
templateUrl?: string;
templateUrl?: any;
resolve?: any;
redirectTo?: any;
reloadOnSearch?: boolean;