Using the `upgrade` module in Angular to incrementally upgrade an AngularJS application to Angular.
Questions tagged [ng-upgrade]
157 questions
1
vote
0 answers
Template attributes not resolved for upgraded Angular 1 component directive
I have the following Angular 1 directive:
return function(module) {
module.directive('myButtonUpgrade', myButtonUpgrade);
function myButtonUpgrade() {
return {
restrict: 'E',
template:…

Tomasz Polecki
- 306
- 5
- 19
1
vote
0 answers
Angular 2: subscribe to AngularJS $scope.$broadcast / $scope.$emit messages?
I'm in the process of incrementally upgrading an existing Angular 1 codebase to Angular 2 using ngUpgrade.
I'm converting an existing ng1 directive into an ng2 component. The old version has several $scope.$on handlers, listening for…

Stuart Updegrave
- 687
- 5
- 25
1
vote
1 answer
Unknown provider error in ngUpgrade (Angular 1/2 hybrid application)
I'm starting on a new project forked from an existing Angular 1 codebase, with the intention of using ngUpgrade to do new development using Angular 2. I've successfully added Angular 2 to the project, but when I try to instantiate ngUpgrade in order…

Stuart Updegrave
- 687
- 5
- 25
1
vote
1 answer