IO Components example, question about directives and attributes

Newbie here. Working through the examples to try to understand how the parts work together to generate an app.

In the IO Components example, I'm sorting out how the activeScreen directive is working with the attributes set on the page. I can't find where the "active-screen" attribute gets read and sets the value in attrs.activeScreen.

I can see how in the activeScreenAdvancedHandler javascript it then gets put in the scope so the index page gets it in the header as activeScreen.name.

How do the attributes "active-screen", "enabled-back-button", and "disabled-side-menu" get in to the attrs object?
1 person has
this question
+1
Reply