Skip to content
fossilized created page: CommonAngularGotchas authored by yeemighty's avatar yeemighty
......@@ -13,7 +13,7 @@ Services
Directives
- Multi purpose can be a html element, attribute, class or all
- For element tags a ':' or '-' in the directive name will search for the camel case i.e.: light-a-fire will look for a directive named lightAFire
- For element tags a ':' or '-' in the directive name will search for the camel case i.e.: ```light-a-fire``` will look for a directive named lightAFire
- Don't use self-closing tag ```<light-a-fire/>``` use ```<light-a-fire></light-a-fire>``` instead
- Used for resuseable html elements
- Used for organizing complex ui
......
......