Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 631 Bytes

al-app.rst

File metadata and controls

27 lines (19 loc) · 631 Bytes

al-app

Overview

  • Bind a part of DOM on start
  • input argument (not necessary): #tag and/or a name of controller
<div al-app></div>
<div al-app="mainCtrl"></div>
<div al-app="#tag"></div>
<div al-app="#tag mainCtrl"></div>

A tag lets you using one scope for different parts of DOM, also a tag places a scope to alight.apps.tagName

Examples