Skip to content

Angular 1/2 hybrid app example showing Angular 1 $injector error

License

Notifications You must be signed in to change notification settings

icfantv/ng1_ng2_hybrid

Repository files navigation

  1. run npm install
  2. run npm start
  3. make sure app runs correctly on localhost:9000, should display two messages
  4. run npm t and you'll see the $injector error

The one difference between this project and Spinnaker is that in this project, we had to add the NG2_module as a module dependency to the main module in app.ts:

angular.module('hello.world', [MAIN_APP, NG2_MODULE]);

About

Angular 1/2 hybrid app example showing Angular 1 $injector error

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published