edit-article
Home
Up
Delete
Article Name:
Article Description:
By Leo Horie @ __ - differences between Mithril and Angular, rationales behind Mithril's template design.
Chapter ID/Name:
Status:
Write
Writing
Written
Add Photo:
Owner ID:
Content:
use HTML
Edit Content
<h1 style="text-align: center;">title</h1> <h2>[WHAT]</h2> <ol> <li>] Angular uses what it calls <em>directives</em> to enrich HTML with functionality. Directives are essentially a mechanism that attaches functionality to DOM elements in an unobtrusive manner. Directives can be bound to elements, attributes or class names and provide a "free out-of-jail card" of sorts that allows developers to break out of Angular's environment and access the DOM directly. There are <a href="http://docs.angularjs.org/api/ng/directive" target="_blank">dozens of directives</a> that come out of the box, and it's possible to create custom ones as well.</li> </ol> <h2>[WHY]</h2> <ol> <li>] </li> </ol> <h2>[WHERE]</h2> <ol> <li>] <a href="http://lhorie.github.io/mithril-blog/lessons-learned-from-angular.html" target="_blank">http://lhorie.github.io/mithril-blog/lessons-learned-from-angular.html</a> </li> </ol> <h2>[WHEN]</h2> <ol> <li>] 2014-05-04</li> </ol> <h2>[EXAMPLE]</h2> <ol> <li>]</li> </ol> <h2>[HOW-TO]</h2> <ol> <li>]</li> </ol> <h2>[REFERENCE]</h2> <ol> <li>]</li> </ol> <h1 style="text-align: center;"> </h1>