fix(angular1_router): support templateUrl components
This commit is contained in:

committed by
Pete Bacon Darwin

parent
e7470d557d
commit
d4a4d81173
@ -25,7 +25,10 @@ describe('ngOutlet animations', function () {
|
||||
});
|
||||
|
||||
registerComponent('userCmp', {
|
||||
template: '<div>hello {{userCmp.$routeParams.name}}</div>'
|
||||
template: '<div>hello {{userCmp.$routeParams.name}}</div>',
|
||||
$routerOnActivate: function(next) {
|
||||
this.$routeParams = next.params;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user