Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Angular Directives Reply To: Angular Directives

#200188
Alen
Participant

@jerba

is it because ‘app’ (referring to the whole application) and ‘info’ which is set as the scope here?

info is just a property on the scope. app-info is coming from the directive declaration “appInfo”.

app.directive('appInfo', function() {...