Skip to content

Commit

Permalink
Set strict di to true
Browse files Browse the repository at this point in the history
This should throw an error if any components or services are not decorated for dependency injection.
  • Loading branch information
SamGraber committed Aug 23, 2016
1 parent 425df07 commit b7cbc70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrapper/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,4 @@ function BaseRoute($urlRouterProvider, $stateProvider) {
});
}

upgradeAdapter.bootstrap(document.body, [moduleName]);
upgradeAdapter.bootstrap(document.body, [moduleName], { strictDI: true });

0 comments on commit b7cbc70

Please sign in to comment.