Skip to content

Instantly share code, notes, and snippets.

@theredpea
Last active February 22, 2018 23:30
Show Gist options
  • Select an option

  • Save theredpea/d63fb8504b5bc563e0083af4e505e4f3 to your computer and use it in GitHub Desktop.

Select an option

Save theredpea/d63fb8504b5bc563e0083af4e505e4f3 to your computer and use it in GitHub Desktop.
//$animate service
//so noanimate turns $animate service off;
//where is $animate defined?
//oh the angular $animate service: https://docs.angularjs.org/api/ng/service/$animate
function s(t, n) {
n.hasOption("noanimate") && e.getService("$animate").enabled(!1),
n.lang && t.setLanguage(n.lang),
n.theme && t.theme.apply(n.theme)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment