Skip to content

Instantly share code, notes, and snippets.

@Sharondio
Created January 27, 2014 19:58
Show Gist options
  • Save Sharondio/8656110 to your computer and use it in GitHub Desktop.
Save Sharondio/8656110 to your computer and use it in GitHub Desktop.
Bootstrapping an angular app
// ************ Bootstrap App ****************
angular.element(document).ready(function () {
angular.bootstrap(document.getElementById('main_container'), ['my-app'])
})
// *******************************************
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment