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
@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”.
info
app-info
app.directive('appInfo', function() {...