Skip to content

Commit 0aaa25b

Browse files
committed
Merge pull request #58 from jincod/master
fix for ie8
2 parents c92e099 + f10f4dc commit 0aaa25b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/route-segment.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ mod.provider( '$routeSegment',
294294
curSegment = null;
295295
for (var i in children) {
296296
(function(i, children, index) {
297-
if (children[i].params.default) {
297+
if (children[i].params['default']) {
298298
defaultChildUpdatePromise = defaultChildUpdatePromise.then(function () {
299299
return updateSegment(index, {name: i, params: children[i].params})
300300
.then(function (result) {
@@ -536,4 +536,4 @@ mod.filter('routeSegmentParam', ['$routeSegment', function($routeSegment) {
536536
}]);
537537

538538

539-
})(angular);
539+
})(angular);

0 commit comments

Comments
 (0)