Skip to content
This repository was archived by the owner on Nov 21, 2025. It is now read-only.

Conversation

@jeffsheets
Copy link
Contributor

Small patch to allow turning on the AngularJS 1.3 strictDi mode with a new bootstrapConfig optional object

deferredBootstrapper.bootstrap({
  element: document.body,
  module: 'MyApp',
  bootstrapConfig: {
    strictDi: true
  },
  resolve: {
    APP_CONFIG: ['$http', function ($http) {
      return $http.get('/api/demo-config');
    }]
  }
});

@coveralls
Copy link

Coverage Status

Coverage increased (+0.09%) when pulling 3e3afda on jeffsheets:strictdi into b2a37bf on philippd:master.

philippd added a commit that referenced this pull request Oct 7, 2014
Enable strictDi angular bootstrap support
@philippd philippd merged commit e86a08e into philippd:master Oct 7, 2014
@philippd
Copy link
Owner

philippd commented Oct 7, 2014

Thanks for the pull request and adding the new feature!

@philippd
Copy link
Owner

philippd commented Oct 7, 2014

@jeffsheets I'll try to find some time to fix #20 before releasing the new version. If you need the new feature for some reason via bower before that, let me know and i'll release earlier....

@jeffsheets
Copy link
Contributor Author

Thanks! And I'm not in a hurry so I can wait for the release. Thanks for your work on this project

@jeffsheets jeffsheets deleted the strictdi branch October 7, 2014 15:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants