[AngularJS] Re: Problem to upgrade angular 1.x to angular2

2017-01-20 Thread Kyle Thomas
Also add this in your index.html -- You received this message because you are subscribed to the Google Groups "Angular" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to

[AngularJS] Re: Problem to upgrade angular 1.x to angular2

2017-01-20 Thread Kyle Thomas
I've stripped out a lot of code but here is an example that I got to work: main.ts import { UpgradeAdapter } from '@angular/upgrade'; import { AppModule } from './app.module'; let upgradeAdapter = new UpgradeAdapter(AppModule); angular.module('myApp') .directive( 'administration',