Skip to content

Instantly share code, notes, and snippets.

@zshannon
Last active August 29, 2015 14:06
Show Gist options
  • Save zshannon/9ae367d203bd71c3660a to your computer and use it in GitHub Desktop.
Save zshannon/9ae367d203bd71c3660a to your computer and use it in GitHub Desktop.
AngularJS Tips
Angular apps are little separate kingdoms. You can't get into them from outside, and it's really frowned upon to use jQuery within them to access the DOM.
The loading order is somewhat important. I set it up like this: [jQuery, jQueryUI, Bootstrap, Underscore, Angular Library, *any Angular Plugins*, Angular Application init file, *rest of angular files*].
@montasaurus
Copy link

1-team.coffee mentions a _init_app.coffee . Is that where you're setting the @dispatched variable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment