Is there any way to prioritize the order of controllers/directives being loaded in page in AngularJS? -


i have problem controller being loaded before has been getting other directive id should have in order load himself.

how can organize order of loading component in page? there way tell controller or directive load if got in scope?

think parameter directivea create , directiveb need parameter in order being load. how prioritize order directivea createad or loaded before directiveb?

using require attribute: see documentation

function somedirective () {   return {     ...     require: '^someothercontroller'   } } 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

python - Django-cities exits with "killed" -

python - How to get a widget position inside it's layout in Kivy? -