Skip to content
This repository was archived by the owner on May 25, 2019. It is now read-only.

Commit 056177f

Browse files
committed
Merge pull request #401 from joseym/master
fixing thrown error
2 parents a140cdd + be4de8c commit 056177f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/directives/route/route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ angular.module('ui.directives').directive('uiRoute', ['$location', '$parse', fun
1313
} else if (tAttrs.href) {
1414
useProperty = 'href';
1515
} else {
16-
throw new Error('uiRoute missing a route or href property on ' + elm[0]);
16+
throw new Error('uiRoute missing a route or href property on ' + tElement[0]);
1717
}
1818
return function ($scope, elm, attrs) {
1919
var modelSetter = $parse(attrs.ngModel || attrs.routeModel || '$uiRoute').assign;

0 commit comments

Comments
 (0)